mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Add remove_column in money migration
This commit is contained in:
parent
e99b3ee755
commit
3be4cd2a9a
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue