discourse/db/migrate/20151124192339_rename_ninja...

6 lines
173 B
Ruby
Raw Normal View History

class RenameNinjaEdit < ActiveRecord::Migration
def change
execute "UPDATE site_settings SET name = 'editing_grace_period' WHERE name = 'ninja_edit_window'"
end
end