Fix column cache being out-of-sync after migration

This commit is contained in:
Paul van Tilburg 2014-10-18 21:27:26 +02:00
parent 507010172f
commit d5b5e0e4e0
1 changed files with 3 additions and 0 deletions

View File

@ -696,6 +696,9 @@ module StopTime::Models
def self.up
add_column(Customer.table_name, :time_specification, :boolean)
add_column(Invoice.table_name, :include_specification, :boolean)
Customer.reset_column_information
Invoice.reset_column_information
end
def self.down