Coverage for src/backend/InvenTree/stock/migrations/0032_stockitem_build_order.py: 100%

5 statements  

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

1# Generated by Django 3.0.5 on 2020-04-25 14:02 

2 

3from django.db import migrations, models 

4import django.db.models.deletion 

5 

6 

7class Migration(migrations.Migration): 

8 

9 dependencies = [ 

10 ('build', '0015_auto_20200425_1350'), 

11 ('stock', '0031_auto_20200422_0209'), 

12 ] 

13 

14 operations = [ 

15 migrations.AddField( 

16 model_name='stockitem', 

17 name='build_order', 

18 field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='stock_items', to='build.Build'), 

19 ), 

20 ]