Coverage for cluster / migrations / 0015_model_unique_sm_cluster_name_group.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-24 12:43 +0000

1# Generated by Django 6.0.3 on 2026-03-23 12:38 

2 

3from django.db import migrations, models 

4 

5 

6class Migration(migrations.Migration): 

7 

8 dependencies = [ 

9 ("auth", "0012_alter_user_first_name_max_length"), 

10 ("cluster", "0014_historicalmodel"), 

11 ("clustersoftware", "0011_historicalmodel"), 

12 ] 

13 

14 operations = [ 

15 migrations.AddConstraint( 

16 model_name="model", 

17 constraint=models.UniqueConstraint( 

18 fields=("name", "group"), name="unique_sm_cluster_name_group" 

19 ), 

20 ), 

21 ]