summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170728101014_remove_events_from_notification_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20170728101014_remove_events_from_notification_settings.rb')
-rw-r--r--db/post_migrate/20170728101014_remove_events_from_notification_settings.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/post_migrate/20170728101014_remove_events_from_notification_settings.rb b/db/post_migrate/20170728101014_remove_events_from_notification_settings.rb
new file mode 100644
index 00000000000..cd533391d8d
--- /dev/null
+++ b/db/post_migrate/20170728101014_remove_events_from_notification_settings.rb
@@ -0,0 +1,9 @@
+class RemoveEventsFromNotificationSettings < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ remove_column :notification_settings, :events, :text
+ end
+end