fix deprecated setting migration

This commit is contained in:
Arpit Jalan 2018-05-09 08:14:45 +05:30
parent 1ce8b7def8
commit 27efa45800
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
class RemoveInvitePassthroughHours < ActiveRecord::Migration[5.1]
def change
def up
execute "DELETE FROM site_settings WHERE name = 'invite_passthrough_hours'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end