discourse/db/migrate/20151124192339_rename_ninja...

8 lines
209 B
Ruby
Raw Normal View History

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