6 lines
154 B
Ruby
6 lines
154 B
Ruby
|
class AddNotNullBalanceUsers < ActiveRecord::Migration
|
||
|
def change
|
||
|
change_column :users, :balance_cents, :integer, default: 0, null: false
|
||
|
end
|
||
|
end
|