-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update fails #24
Comments
I have recreate table with |
Good catch. I'll update this (probably some time this weekend). |
I've pushed a version to https://github.com/vikingco/django-db-locking/compare/issue-24/uuid-migration. It works in the setups I've tried, but could you validate it on yours as well @wiktorwojcikowski? And if you should still have issues, what database (version) are you using? |
Works! RuntimeWarning: DateTimeField NonBlockingLock.renewed_on received a naive datetime (2015-09-07 03:32:18.056000) while time zone support is active. But it works anyway. Thanks for fixing. |
Ok, great! I'll bump the version. |
Ok, locally worked but I test on dev server now and if there are any locks at DB, it throws "Duplicate entry" error, because all default uuids are same. I clear db and it pass, but it means it's still not perfect. |
Applying locking.0004_auto_20150915_1411...
django.db.utils.ProgrammingError: column "id" cannot be cast automatically to type uuid
HINT: Specify a USING expression to perform the conversion.
The text was updated successfully, but these errors were encountered: