-
-
Notifications
You must be signed in to change notification settings - Fork 100
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 not working #125
Comments
Agree, i have the same issue |
When i copie the git folder robots direct in my project and remove 0002 migration. Then run |
This needs more information. Not clear if this is a configuration issue on your side(s) or a django-robots issue.
@svandeneertwegh @justin-ven It looks like you may need superuser access / to iron permissions out. Have you tried troubleshooting yet on the postgres side? |
This issue is now resolved on my system - I just upgraded to Django 4.0.3, and let the migration set up and work through. I did need to merge two migrations on one system, but otherwise things seem to be functioning correctly for me now. |
In re:
I'm don't think this is something the package itself can solve - I'm open to being convinced otherwise. These are highly specific to your own project's state, migrations are complicated. Don't take my / other's word on these: it depends 100% on your specific circumstance!
I will close, but keep the issue unlocked so workarounds / solutions can be shared. I'm not sure if it's #124 or not. I will also come back when a PyPI beta package with the #124 is live |
Related to #124, a migration file now seems to be included in 5.0, but results (at least on my system) in the following error:
psycopg2.errors.ObjectNotInPrerequisiteState: sequence must have same owner as table it is linked to
The text was updated successfully, but these errors were encountered: