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

Remove old migrations #49

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

sascha-karnatz
Copy link
Contributor

Remove older migrations that were necessary for an older version of Alchemy. On fresh installation, these migration are causing troubles, because the altered tables are not available anymore for Alchemy >= 7.x.

Remove older migrations that were necessary for an older version of Alchemy. On fresh installation, these migration are causing troubles, because the altered tables are not available anymore for Alchemy >= 7.x.
This version of Alchemy PgSearch has a minimum requirement of AlchemyCMS 7.0.
@tvdeyen
Copy link
Member

tvdeyen commented Oct 4, 2024

I think the Dummy app needs an update as well. The old migrations are still included there https://github.com/AlchemyCMS/alchemy-pg_search/tree/main/spec/dummy/db/migrate

Migrate the dummy fresh with Alchemy 7.0 and remove nearly all migration. Ignore the migrate folder in the gitignore to store only the generated schema.rb. The only exception is the create_user migration that is a custom migration of the dummy app to have the possibility to run user specific feature specs.
@tvdeyen tvdeyen merged commit b68faf7 into AlchemyCMS:main Oct 8, 2024
1 check passed
@tvdeyen tvdeyen added this to the v6.0 milestone Oct 8, 2024
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.

2 participants