lib/data_migrate/migration.rb in data_migrate-6.3.0 vs lib/data_migrate/migration.rb in data_migrate-6.4.0
- old
+ new
@@ -12,11 +12,11 @@
def table_name
ActiveRecord::Base.table_name_prefix + "data_migrations" + ActiveRecord::Base.table_name_suffix
end
- def index_name
- "#{table_name_prefix}unique_data_migrations#{table_name_suffix}"
+ def primary_key
+ "version"
end
end
def initialize(name = self.class.name, version = nil)
super(name, version)