Fix error handling.
[redakcja.git] / src / depot / migrations / 0004_shopbookpublish_shop.py
1 # Generated by Django 4.1.9 on 2023-08-10 18:36
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ("depot", "0003_shop_rename_legimibookpublish_shopbookpublish_and_more"),
11     ]
12
13     operations = [
14         migrations.AddField(
15             model_name="shopbookpublish",
16             name="shop",
17             field=models.ForeignKey(
18                 null=True, on_delete=django.db.models.deletion.SET_NULL, to="depot.shop"
19             ),
20         ),
21     ]