blob: b2ff7364faa0cac842f1a5fef7efa834720148ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class RenameRevisionHoldItem < ActiveRecord::Migration[5.1]
def change
change_table :pokeviewer_revisions do |t|
t.rename :hold_item, :item_id
end
add_foreign_key :pokeviewer_revisions, :pokeviewer_items, column: :item_id
end
end
|