Changes between Initial Version and Version 1 of Ticket #31332


Ignore:
Timestamp:
Mar 2, 2020, 3:32:22 PM (5 years ago)
Author:
Aishwary
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31332 – Description

    initial v1  
    44        unique_together = ('batch_size', 'distributor', 'service', 'type')
    55On running makemigrations command, I get the following error:
     6
     7{{{
    68Running migrations:
    79Applying shopping.0061_alter_distributorprice_uniqueness_constraint...Traceback (most recent call last):
     
    3739", ".join(columns),
    3840ValueError: Found wrong number (0) of constraints for shopping_distributorprice(batch_size, distributor_id, service_id)
     41}}}
     42
     43I have already viewed and tested the tickets related to this error but none work. I even tried to remove the constrain altogether to reapply a new one, but still I get the same error as above.
Back to Top