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

8 lines
300 B
Ruby

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