Skip to content

Commit

Permalink
Added migration
Browse files Browse the repository at this point in the history
  • Loading branch information
0ssigeno committed Oct 26, 2023
1 parent 7db0b50 commit 36076aa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions certego_saas/apps/notifications/migrations/0004_for_user_blank.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("certego_saas_notifications", "0003_for_user"),
]

operations = [
migrations.AlterField(
model_name="notification",
name="for_user",
field=models.ForeignKey(
settings.AUTH_USER_MODEL,
related_name="notifications",
help_text="If the field is empty, the notification is for everyone; otherwise only for the specified user",
null=True,
blank=True,
on_delete=models.CASCADE,
),
),
]

0 comments on commit 36076aa

Please sign in to comment.