Coverage for src/backend/InvenTree/build/migrations/0015_auto_20200425_1350.py: 100%

7 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 13:50 

2 

3import django.core.validators 

4from django.db import migrations, models 

5import django.db.models.deletion 

6import mptt.fields 

7 

8 

9class Migration(migrations.Migration): 

10 

11 dependencies = [ 

12 ('build', '0014_auto_20200425_1243'), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name='build', 

18 name='parent', 

19 field=mptt.fields.TreeForeignKey(blank=True, help_text='Parent build to which this build is allocated', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='children', to='build.Build', verbose_name='Parent Build'), 

20 ), 

21 migrations.AlterField( 

22 model_name='builditem', 

23 name='quantity', 

24 field=models.DecimalField(decimal_places=5, default=1, help_text='Stock quantity to allocate to build', max_digits=15, validators=[django.core.validators.MinValueValidator(0)]), 

25 ), 

26 ]