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

Update previous_schema regex to account for Rails 7 #104

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

maestromac
Copy link
Contributor

Rails 7's schema.rb looks similar to ActiveRecord::Schema[7.0].define(version: 2022_01_26_205052) which breaks how the regex works, causing assert HairTrigger::migrations_current? to fail. This PR fixes that.

@myxoh
Copy link

myxoh commented May 15, 2022

👍 - came across the same issue and similar solution

@jenseng jenseng merged commit 123c36a into jenseng:master Dec 12, 2022
@jenseng
Copy link
Owner

jenseng commented Dec 12, 2022

Thanks @maestromac!

@jenseng
Copy link
Owner

jenseng commented Dec 13, 2022

released in https://rubygems.org/gems/hairtrigger/versions/1.0.0

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

Successfully merging this pull request may close these issues.

3 participants