summaryrefslogtreecommitdiff
path: root/db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb')
-rw-r--r--db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb b/db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb
deleted file mode 100644
index d5301672dc5..00000000000
--- a/db/migrate/20160610140403_remove_notification_setting_not_null_constraints.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class RemoveNotificationSettingNotNullConstraints < ActiveRecord::Migration[4.2]
- def up
- change_column :notification_settings, :source_type, :string, null: true
- change_column :notification_settings, :source_id, :integer, null: true
- end
-
- def down
- change_column :notification_settings, :source_type, :string, null: false
- change_column :notification_settings, :source_id, :integer, null: false
- end
-end