Add remove_column in money migration

This commit is contained in:
Tyler Renelle 2012-02-06 12:44:17 -05:00
parent e99b3ee755
commit 3be4cd2a9a

View file

@ -1,5 +1,9 @@
class AddMoneyToUser < ActiveRecord::Migration
def change
def up
add_column :users, :money, :float, :default=>0.0
end
def down
remove_column :users, :money
end
end