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

14 lines
299 B
Ruby
Raw Permalink 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
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