Changes between Version 2 and Version 3 of Ticket #31332
- Timestamp:
- Mar 2, 2020, 3:37:28 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31332 – Description
v2 v3 1 1 I have a database table that currently has uniqueness constraint over three columns. I added one more column to this uniqueness constraint. 2 2 So, the Meta class with the new uniqueness constraints looks as follows: 3 class Meta: 3 4 {{{ 5 class Meta: 4 6 unique_together = ('batch_size', 'distributor', 'service', 'type') 7 }}} 8 5 9 On running makemigrations command, I get the following error: 6 10