discourse/db/migrate/20130801155107_rename_staff_action_pk.rb
2013-08-01 11:58:12 -04:00

10 lines
239 B
Ruby

class RenameStaffActionPk < ActiveRecord::Migration
def up
execute "ALTER INDEX admin_logs_pkey RENAME TO staff_action_logs_pkey"
end
def down
execute "ALTER INDEX staff_action_logs_pkey RENAME TO admin_logs_pkey"
end
end