mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
10 lines
239 B
Ruby
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
|