From dc09828d09c6b818a10eaa678b427d812fbd85b2 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sat, 12 May 2018 01:18:49 -0700 Subject: Fix #down implementation --- ...0512061621_add_not_null_constraint_to_project_features_project_id.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1