mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:22:36 +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
|