diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-08-01 14:54:56 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-08-01 14:54:56 +0000 |
commit | 4c77c30fbfb3734fd893f7cfe540fa595ea6539c (patch) | |
tree | ac0572310bfce7bc9860f8122fe36ee09a18526c /db | |
parent | 1a0e176ba1a55005ee04d187e4b20127603373d8 (diff) | |
parent | 57a5544f883ad9687c38270519edc7914912af5d (diff) | |
download | gitlab-ce-4c77c30fbfb3734fd893f7cfe540fa595ea6539c.tar.gz |
Merge branch '33620-remove-events-from-notification_settings' into 'master'
Resolve "Remove `events` from `notification_settings`"
Closes #33620
See merge request !13152
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170728101014_remove_events_from_notification_settings.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 10 insertions, 2 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 diff --git a/db/schema.rb b/db/schema.rb index 5fbbdea6eaa..4ba218e1e0d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20170725145659) do +ActiveRecord::Schema.define(version: 20170728101014) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -981,7 +981,6 @@ ActiveRecord::Schema.define(version: 20170725145659) do t.integer "level", default: 0, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.text "events" t.boolean "new_note" t.boolean "new_issue" t.boolean "reopen_issue" |