Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Migration version #117

Closed
yuri-val opened this issue Apr 1, 2019 · 2 comments
Closed

Data Migration version #117

yuri-val opened this issue Apr 1, 2019 · 2 comments

Comments

@yuri-val
Copy link

yuri-val commented Apr 1, 2019

Is it correct to using ActiveRecord::Migrator.current_version to get current data_migration version?

current_data_version = ActiveRecord::Migrator.current_version

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

@ilyakatz ilyakatz changed the title Data Migratin version Data Migration version Apr 21, 2019
@ilyakatz
Copy link
Owner

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.

@sully7
Copy link
Contributor

sully7 commented Jan 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants