Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jivey committed Jun 26, 2024
1 parent 6f62e7d commit 7799a6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion books/migrations/0156_book_content_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
Expand All @@ -16,6 +15,8 @@ class Migration(migrations.Migration):
model_name="book",
name="content_warning",
field=models.ForeignKey(
blank=True,
help_text="Message shown in the content warning modal.",
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="content_warnings_content_warning",
Expand Down

0 comments on commit 7799a6e

Please sign in to comment.