diff options
author | Stan Hu <stanhu@gmail.com> | 2018-05-12 01:18:49 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-05-12 01:18:49 -0700 |
commit | dc09828d09c6b818a10eaa678b427d812fbd85b2 (patch) | |
tree | 0c60fe687e0fef48834dfe426b869c4e23c11fc5 | |
parent | 57f00ac987aa0674aeefad0eb50165d70f3809c8 (diff) | |
download | gitlab-ce-sh-enforce-not-null.tar.gz |
Fix #down implementationsh-enforce-not-null
-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 |