blob: 27cebfe0541f999f1a04e42e31862ed4e2de9562 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class CreatePokeviewerMoves < ActiveRecord::Migration[5.1]
def change
create_table :moves do |t|
t.string :name, null: false, limit: 191
t.integer :pp, null: false
t.timestamps
end
add_index :moves, :name, unique: true
end
end
|