class Migration(migrations.Migration): replaces = [("checks", "0001_initial"), ("checks", "0002_auto_20180416_1509")] initial = True dependencies = [ ("lang", "0011_auto_20180215_1158"), ("trans", "0130_auto_20180416_1503"), ] operations = [ migrations.CreateModel( name="Check", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("content_hash", models.BigIntegerField()), ( "check", models.CharField(choices=CHECKS.get_choices(), max_length=50), ), ("ignore", models.BooleanField(db_index=True, default=False)), ( "language", models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to="lang.Language", ), ), ( "project", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to="trans.Project" ), ), ], ), migrations.AlterUniqueTogether( name="check", unique_together={("content_hash", "project", "language", "check")}, ), migrations.AlterIndexTogether( name="check", index_together={("project", "language", "content_hash")} ), ]
class Migration(migrations.Migration): replaces = [ ("checks", "0001_squashed_0002_auto_20180416_1509"), ("checks", "0002_check_unit"), ("checks", "0003_auto_20191212_1441"), ] initial = True dependencies = [ ("trans", "0001_squashed_0143_auto_20180609_1655"), ("lang", "0001_squashed_0011_auto_20180215_1158"), ("trans", "0052_auto_20191212_1403"), ("trans", "0054_auto_20191212_1441"), ] operations = [ migrations.CreateModel( name="Check", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ( "check", models.CharField( choices=CHECKS.get_choices(), max_length=50, ), ), ("ignore", models.BooleanField(db_index=True, default=False)), ( "unit", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to="trans.Unit"), ), ], options={"unique_together": {("unit", "check")}}, ), ]