mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 14:26:41 +08:00
10 lines
229 B
Ruby
10 lines
229 B
Ruby
class RemoveInvitePassthroughHours < ActiveRecord::Migration[5.1]
|
|
def up
|
|
execute "DELETE FROM site_settings WHERE name = 'invite_passthrough_hours'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|