Coverage for rest_api/migrations/0034_mutation_unique_mutation.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-10 03:22 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-10 03:22 +0000
1# Generated by Django 4.2.4 on 2023-11-03 14:25
3from django.db import migrations, models
6class Migration(migrations.Migration):
7 dependencies = [
8 ("rest_api", "0033_alter_alignment_id_alter_annotationtype_id_and_more"),
9 ]
11 operations = [
12 migrations.AddConstraint(
13 model_name="mutation",
14 constraint=models.UniqueConstraint(
15 fields=("ref", "alt", "start", "end", "type", "gene", "replicon"),
16 name="unique_mutation",
17 ),
18 ),
19 ]