Coverage for src/backend/InvenTree/part/migrations/0146_auto_20251203_1241.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 17:47 +0000

1# Generated by Django 5.2.8 on 2025-12-03 12:41 

2 

3from django.db import migrations 

4 

5 

6class Migration(migrations.Migration): 

7 

8 dependencies = [ 

9 ("part", "0145_auto_20251203_1238"), 

10 ] 

11 

12 # Remove the PartParameterTemplate and PartParameter models 

13 # Note: We *DO NOT* drop the underlying database tables, 

14 # as these are now used by the common.ParameterTemplate and common.Parameter models 

15 operations = [ 

16 migrations.SeparateDatabaseAndState( 

17 state_operations=[ 

18 migrations.DeleteModel(name='PartParameterTemplate'), 

19 migrations.DeleteModel(name='PartParameter'), 

20 ], 

21 database_operations=[] 

22 ), 

23 ]