2015-10-20 14:36:50 -04:00
|
|
|
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
|
2015-10-20 18:06:44 -04:00
|
|
|
t.references :stat_type, index: true, foreign_key: true
|
2015-10-20 14:36:50 -04:00
|
|
|
|
|
|
|
t.timestamps null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|