From d5b5e0e4e04f3bbbcecb81aeae978b73070ff022 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 18 Oct 2014 21:27:26 +0200 Subject: [PATCH] Fix column cache being out-of-sync after migration --- stoptime.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stoptime.rb b/stoptime.rb index 84d678e..554b902 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -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