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

Change db_configs_with_versions call when Rails is higher than 7.1 #326

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

bruno-costanzo
Copy link
Collaborator

@bruno-costanzo bruno-costanzo commented Aug 20, 2024

Before Rails 7.1

def db_configs_with_versions(db_configs)

= Rails 7.1

def db_configs_with_versions(environment = env)

This is producing and error because is overriding the env and not finding pending migrations

Error screenshot

image

@Morozzzko Morozzzko mentioned this pull request Aug 20, 2024
@Morozzzko Morozzzko merged commit dac6c9d into main Aug 20, 2024
25 checks passed
@Morozzzko Morozzzko deleted the hotfix/adapt-migrate-with-data-to-rails-7.1-or-higher branch August 20, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants