I have a django model that has a unique together constraint, but I need a specific instance to be able to be repeated over and over. Is this possible?
name = models.ForeignKey(name)
time = models.BigIntegerField()
class Meta:
unique_together = ("name", "time",)
I'm trying to get time=0 and for the same user multiple times. However, in every other instance it time needs to be unique.