diff options
author | Sean McGivern <sean@gitlab.com> | 2017-07-28 10:44:33 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-07-31 11:18:55 +0100 |
commit | 57a5544f883ad9687c38270519edc7914912af5d (patch) | |
tree | cf7713439a19e40d2c0b69fff197d3db0a74c8ed /db | |
parent | 4c89929fb4211aa1cf5f311a0cec89988de45184 (diff) | |
download | gitlab-ce-57a5544f883ad9687c38270519edc7914912af5d.tar.gz |
Remove events column from notification settings33620-remove-events-from-notification_settings
This was migrated to separate columns in 9.4, and now just needs to be removed
for real.
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 0abdb987b77..1a60589261a 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" |