diff options
-rw-r--r-- | db/migrate/20180512061621_add_not_null_constraint_to_project_features_project_id.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180512061621_add_not_null_constraint_to_project_features_project_id.rb b/db/migrate/20180512061621_add_not_null_constraint_to_project_features_project_id.rb index 7b819b9ec8b..5a6d6ff4a10 100644 --- a/db/migrate/20180512061621_add_not_null_constraint_to_project_features_project_id.rb +++ b/db/migrate/20180512061621_add_not_null_constraint_to_project_features_project_id.rb @@ -16,6 +16,6 @@ class AddNotNullConstraintToProjectFeaturesProjectId < ActiveRecord::Migration end def down - change_column_null :project_features, :project_id, false + change_column_null :project_features, :project_id, true end end |