data-migrate icon indicating copy to clipboard operation
data-migrate copied to clipboard

Data Migration version

Open yuri-val opened this issue 5 years ago • 2 comments

Is it correct to using ActiveRecord::Migrator.current_version to get current data_migration version? https://github.com/ilyakatz/data-migrate/blob/126e409483d0b867428ae4550b2d05e9b2d3ec60/tasks/databases.rake#L25

As far as I understand, you need to use DataMigrate::DataMigrator.current_version here, right?

yuri-val avatar Apr 01 '19 14:04 yuri-val

Hm, I think you're right. Looking at the code, it hasn't been touched since it's origination. I think it needs to be cleaned up, will probably get to this after rails 6 compatibility changes.

ilyakatz avatar Apr 24 '19 05:04 ilyakatz

Oops... I didn't look back far enough when I created #201

sully7 avatar Jan 06 '22 10:01 sully7