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 fails when using UUID #64
Comments
How did you solve it? |
Hey there, I hope you are doing great. I’m late but I still hope you will find my answer useful. So what I’ve done is I just excluded ‘jet.dashboard’ but kept ‘jet’. |
@iamalmiir Thank you, I do the same thing... |
It can fixed by re-generating MIGRATION_MODULES = {
"jet": "your_app.migrations.jet",
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User model with a UUID instead of BIGINT, the migrations fail for PostgreSQL.
tried django-jet-reboot==1.3.1/1.3.3 still fails.
Error message:
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: cannot cast type integer to uuid
LINE 1: ..." ALTER COLUMN "user_id" TYPE uuid USING "user_id"::uuid, AL...
The text was updated successfully, but these errors were encountered: