Changes between Version 2 and Version 3 of Ticket #31332


Ignore:
Timestamp:
Mar 2, 2020, 3:37:28 PM (4 years ago)
Author:
Aishwary
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31332 – Description

    v2 v3  
    11I have a database table that currently has uniqueness constraint over three columns. I added one more column to this uniqueness constraint.
    22So, the Meta class with the new uniqueness constraints looks as follows:
    3      class Meta:
     3     
     4{{{
     5class Meta:
    46        unique_together = ('batch_size', 'distributor', 'service', 'type')
     7}}}
     8
    59On running makemigrations command, I get the following error:
    610
Back to Top