blob: 7adc38739b340f332406e6a1821563e3b96e8926 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# This migration comes from pokeviewer (originally 20170930185514)
class CreatePokeviewerItems < ActiveRecord::Migration[5.1]
def change
create_table :pokeviewer_items do |t|
t.string :name, null: false
t.boolean :tm, null: false, default: false
t.references :move, null: true
t.string :rs_description
t.string :frlg_description
t.string :emerald_description
t.timestamps
end
add_foreign_key :pokeviewer_items, :pokeviewer_moves, column: :move_id
end
end
|