lib/chrono_model/adapter.rb in chrono_model-0.13.1 vs lib/chrono_model/adapter.rb in chrono_model-0.13.2
- old
+ new
@@ -599,10 +599,10 @@
if desc[:version].blank?
logger.info "ChronoModel: Upgrading legacy table #{table_name} to #{VERSION}"
upgrade_from_legacy(table_name)
logger.info "ChronoModel: legacy #{table_name} upgrade complete"
else
- logger.info "ChronoModel: upgrading #{table_name} from #{version} to #{VERSION}"
+ logger.info "ChronoModel: upgrading #{table_name} from #{desc[:version]} to #{VERSION}"
chrono_create_view_for(table_name)
logger.info "ChronoModel: #{table_name} upgrade complete"
end
end