Created
May 20, 2016 03:53
-
-
Save mfilipe/1d0494c07713d67a097bd8e103e93627 to your computer and use it in GitHub Desktop.
ActiveRecord::StatementInvalid: PG::InvalidTextRepresentation: ERROR: invalid input syntax for type boolean ":default: false"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChangeRecommendedDefaultOfTemplates < ActiveRecord::Migration | |
def change | |
change_column_null :templates, :recommended, false, default: false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment