mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 11:45:35 +08:00
fix deprecated setting migration
This commit is contained in:
parent
1ce8b7def8
commit
27efa45800
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user