blob: 4bdbe293eceb28bacd74113c58cb7c1850f7564f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class CreatePtuPokemons < ActiveRecord::Migration[6.1]
def change
create_table :ptu_pokemons do |t|
t.string :name
t.integer :base_hp
t.integer :base_atk
t.integer :base_def
t.integer :base_spatk
t.integer :base_spdef
t.integer :base_speed
t.decimal :male_chance
t.text :notes
t.timestamps
end
end
end
|