mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
47d38e1cca
- was causing database integrity errors when a parent build existed
21 lines
620 B
Python
21 lines
620 B
Python
# Generated by Django 3.0.7 on 2020-11-30 23:23
|
|
|
|
from django.db import migrations
|
|
import django.db.models.deletion
|
|
import mptt.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('build', '0023_auto_20201110_0911'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='build',
|
|
name='parent',
|
|
field=mptt.fields.TreeForeignKey(blank=True, help_text='BuildOrder to which this build is allocated', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='children', to='build.Build', verbose_name='Parent Build'),
|
|
),
|
|
]
|