-
Notifications
You must be signed in to change notification settings - Fork 139
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
Migration 2019-04-28-201506_create_tantivy_index is failing to run #702
Comments
I can't reproduce but I'm pretty sure I know what the issue is. Could you run the same command with The following is my understanding from your report, but would require a bit more testing to make sure it's actually the issue. Short story: Long story |
Here is the full backtrace:
Yeah I've thought of the same thing, unfortunately there is no magic solution for data migrations mixed with schema ones. I had issues with data migrations in my schema ones on my projects and either I was able to use the ORM without binding a schema by querying directly the right things, or I ended up moving all the data migrations in separate CLI commands. |
The goal of such migrations was to reduce such separate commands (the exact migration failing for you is strictly equivalent to |
rewrite use_timelines_for_feed in pure sql delete tantivy related migration. It will require reintroducing tantivy initialisation in docs fix #702
rewrite use_timelines_for_feed in pure sql delete tantivy related migration. It will require reintroducing tantivy initialisation in docs fix #702
Updated to latest git from an old plume and the migration
2019-04-28-201506_create_tantivy_index
doesn't run (postgresql).this is probably due to the migration using the latest Database Model, but with an old database, because
users.role
is created in migration2019-06-18-152700_moderator_role
later.The text was updated successfully, but these errors were encountered: