Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AddInitialBalanceToAccount < ActiveRecord::Migration
- def self.up
- add_column :accounts, :initialBalance, :decimal, :scale => 2, :precision => 15, :default => 0.00
- end
- def self.down
- remove_column :accounts, :initialBalance
- end
- end
Add Comment
Please, Sign In to add comment