Files
django-migration-linter/tests/test_project/app_unique_together/models.py
T

10 lines
220 B
Python

from django.db import models
class A(models.Model):
int_field = models.IntegerField()
char_field = models.CharField(max_length=255)
# class Meta:
# unique_together = (("int_field", "char_field"),)