mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 15:03:44 +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
|