Changes between Initial Version and Version 1 of Ticket #24893


Ignore:
Timestamp:
Jun 1, 2015, 2:48:01 PM (10 years ago)
Author:
Jacek Bzdak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24893 – Description

    initial v1  
    7070I 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).
    7171
    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`.
     72This can be worked-around by generating another migration with two `migrations.AlterField` one that sets `unique=False` and another that sets `unique=True`.
Back to Top