1
0
Fork 0
dokkan-data-rails/db/migrate/20151020212132_add_defaults_to_stats.rb

9 lines
300 B
Ruby
Raw Normal View History

2015-10-20 14:36:50 -04:00
class AddDefaultsToStats < ActiveRecord::Migration
def change
change_column :stats, :min, :integer, default: 0
change_column :stats, :max, :integer, default: 0
change_column :stats, :awaken_min, :integer, default: 0
change_column :stats, :awaken_max, :integer, default: 0
end
end