diff --git a/db/migrate/20130801155107_rename_staff_action_pk.rb b/db/migrate/20130801155107_rename_staff_action_pk.rb new file mode 100644 index 00000000000..8631731b3b4 --- /dev/null +++ b/db/migrate/20130801155107_rename_staff_action_pk.rb @@ -0,0 +1,9 @@ +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