Fixed an error in the InvoiceSupport migration.

This commit is contained in:
Paul van Tilburg 2011-11-10 12:49:31 +01:00
parent fc62727e9e
commit c67589f452
1 changed files with 0 additions and 2 deletions

View File

@ -228,12 +228,10 @@ module StopTime::Models
t.boolean :payed
t.timestamps
end
add_column(TimeEntry.table_name, :invoice_id, :integer)
end
def self.down
drop_table Invoice.table_name
remove_column(TimeEntry.table_name, :invoice_id)
end
end