Skip to content

Commit 67f66e5

Browse files
committed
Fixes the migration 008 is irreversible
1 parent 14f4977 commit 67f66e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
class ChangeDefaultBugfixOnViewCustomizes < ActiveRecord::CompatibleLegacyMigration.migration_class
2-
def change
2+
def up
33
change_column_default :view_customizes, :path_pattern, ""
44
change_column_default :view_customizes, :comments, ""
55
end
6+
7+
def down
8+
# Leave the default values unchanged
9+
end
610
end

0 commit comments

Comments
 (0)