Commit cd8aaea3 authored by Roger Meier's avatar Roger Meier

refactor(db): remove Sentry from application settings, disable_ddl_transaction

parent f52101f2
...@@ -18,6 +18,8 @@ class RemoveSentryFromApplicationSettings < ActiveRecord::Migration[5.0] ...@@ -18,6 +18,8 @@ class RemoveSentryFromApplicationSettings < ActiveRecord::Migration[5.0]
:clientside_sentry_dsn :clientside_sentry_dsn
].freeze ].freeze
disable_ddl_transaction!
def up def up
(SENTRY_ENABLED_COLUMNS + SENTRY_DSN_COLUMNS).each do |column| (SENTRY_ENABLED_COLUMNS + SENTRY_DSN_COLUMNS).each do |column|
remove_column(:application_settings, column) if column_exists?(:application_settings, column) remove_column(:application_settings, column) if column_exists?(:application_settings, column)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment