discourse/db/migrate/20151124192339_rename_ninja_edit.rb

6 lines
178 B
Ruby
Raw Normal View History

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