1
0
Fork 0
dokkan-data-rails/db/migrate/20151020183446_create_stats.rb

13 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