1
0
Fork 0
dokkan-data-rails/db/migrate/20151020183446_create_stats.rb
2015-10-20 18:06:44 -04:00

13 lines
299 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 :stat_type, index: true, foreign_key: true
t.timestamps null: false
end
end
end