Changes between Version 1 and Version 2 of Ticket #29790
- Timestamp:
- Oct 1, 2018, 12:17:34 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29790 – Description
v1 v2 9 9 {{{django.db.utils.ProgrammingError: multiple primary keys for table "evaluation_textanswer" are not allowed}}} 10 10 11 This commit changed the behavior: 02365d3f38a64a5c2f3e932f23925a381d5bb151 12 11 13 It works if we add a RemoveField instruction for the old id before setting {{{primary_key=True}}} on the new UUIDField. But this will trigger the SQLite bug listed above. Changing the old AutoField to {{{primary_key=False}}} where the RemoveField instruction would be doesn't fix the error. 12 14