Changes between Initial Version and Version 1 of Ticket #24893
- Timestamp:
- Jun 1, 2015, 2:48:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24893 – Description
initial v1 70 70 I have changed field `string_pk` from `primary_key=True` to `unique=True`, generated migration (when I manually fixed error from #24892) didn't create unique constraint (previously there were a primary key constraint, that was dropped but there were no unique key generated). 71 71 72 This can be (worked-around)by generating another migration with two `migrations.AlterField` one that sets `unique=False` and another that sets `unique=True`.72 This can be worked-around by generating another migration with two `migrations.AlterField` one that sets `unique=False` and another that sets `unique=True`.