fix django 1.11 migrations#2212
Conversation
update django settings together with @giovannipizzi to be conformant with django 1.11
the migration was missing the transformation of dbnode (affects only migration of older databases)
for consistency, start with CharField with uuid (as in UUID field of django_extensions) and only afterwards migrate to django UUIDField
to check: is the same true for python2?
add test to check that no django schema migrations remain
|
Will this fix the origin of the tests failing now in Django? Get a lot of errors in SQL where its trying to compare uuid types to varchars, telling me we should cast the values. And if that is so, how did that pass the checks before merging? |
Are you talking about tests on travis or tests run locally? |
|
Ah yeah you are right, that was the problem. After dropping and recreating the database it is fine |
Will look into adding sqlalchemy unique constraints on uuid column in a separate PR