houtmarkt-jeremy/markt/migrations/0008_auto_20200524_1522.py

26 lines
707 B
Python
Raw Permalink Normal View History

2020-05-24 18:48:06 +00:00
# Generated by Django 3.0.6 on 2020-05-24 18:22
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('markt', '0007_remove_order_factuur_id'),
]
operations = [
migrations.AddField(
model_name='order',
name='Factuur_ID',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, to='markt.Factuur'),
preserve_default=False,
),
migrations.AlterField(
model_name='factuur',
name='Orders',
field=models.ManyToManyField(blank=True, null=True, to='markt.Order'),
),
]