diff options
author | Roger Meier <r.meier@siemens.com> | 2019-06-25 22:06:17 +0200 |
---|---|---|
committer | Roger Meier <r.meier@siemens.com> | 2019-06-25 22:06:17 +0200 |
commit | cd8aaea36f3c2b69c7c48c00ed56de14267969dd (patch) | |
tree | 9cfae05340d36ec7694774244fb444d3bece43c3 /db | |
parent | f52101f20a2499c2c2e997e108482f63b1911ba2 (diff) | |
download | gitlab-ce-cd8aaea36f3c2b69c7c48c00ed56de14267969dd.tar.gz |
refactor(db): remove Sentry from application settings, disable_ddl_transaction
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20190625184066_remove_sentry_from_application_settings.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/post_migrate/20190625184066_remove_sentry_from_application_settings.rb b/db/post_migrate/20190625184066_remove_sentry_from_application_settings.rb index c9fee63ad23..427df343193 100644 --- a/db/post_migrate/20190625184066_remove_sentry_from_application_settings.rb +++ b/db/post_migrate/20190625184066_remove_sentry_from_application_settings.rb @@ -18,6 +18,8 @@ class RemoveSentryFromApplicationSettings < ActiveRecord::Migration[5.0] :clientside_sentry_dsn ].freeze + disable_ddl_transaction! + def up (SENTRY_ENABLED_COLUMNS + SENTRY_DSN_COLUMNS).each do |column| remove_column(:application_settings, column) if column_exists?(:application_settings, column) |