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

14 lines
300 B
Ruby
Raw Normal View History

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
t.references :state_type, index: true, foreign_key: true
t.timestamps null: false
end
end
end