DEV: migration to remove 'bounce_score_threshold_deactivate' setting record

This commit is contained in:
Arpit Jalan 2020-01-30 17:32:57 +05:30
parent 62c21ba649
commit a3115e430e
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class RemoveBounceScoreThresholdDeactivateSiteSetting < ActiveRecord::Migration[6.0]
def up
execute "DELETE FROM site_settings WHERE name = 'bounce_score_threshold_deactivate'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end