tap/db/migrate/20150209141047_add_not_null_balance_users.rb

6 lines
154 B
Ruby
Raw Normal View History

2015-02-09 17:06:24 +01:00
class AddNotNullBalanceUsers < ActiveRecord::Migration
def change
change_column :users, :balance_cents, :integer, default: 0, null: false
end
end