discourse/db/migrate/20180508142711_remove_invit...

12 lines
260 B
Ruby

# frozen_string_literal: true
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