14 lines
300 B
Ruby
14 lines
300 B
Ruby
|
class CreateStats < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :stats do |t|
|
||
|
t.integer :min
|
||
|
t.integer :max
|
||
|
t.integer :awaken_min
|
||
|
t.integer :awaken_make
|
||
|
t.references :state_type, index: true, foreign_key: true
|
||
|
|
||
|
t.timestamps null: false
|
||
|
end
|
||
|
end
|
||
|
end
|