lib/historiographer/mysql_migration.rb in historiographer-1.0.0 vs lib/historiographer/mysql_migration.rb in historiographer-1.0.2
- old
+ new
@@ -2,6 +2,10 @@
if defined?(ActiveRecord::ConnectionAdapters::Mysql2Adapter)
class ActiveRecord::ConnectionAdapters::TableDefinition
include Historiographer::HistoryMigrationMysql
end
+elsif defined?(ActiveRecord::ConnectionAdapters::TableDefinition)
+ class ActiveRecord::ConnectionAdapters::TableDefinition
+ include Historiographer::HistoryMigration
+ end
end