-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: quib model made fields required
- Loading branch information
1 parent
322fd27
commit 4ca64f4
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
backend/apps/quiblet/migrations/0018_alter_quib_quibber_alter_quib_quiblet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 5.1.3 on 2024-12-04 16:17 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('quiblet', '0017_alter_quib_id_alter_quiblet_id'), | ||
('user', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='quib', | ||
name='quibber', | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name='quibs', | ||
to='user.profile', | ||
verbose_name='quibber', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='quib', | ||
name='quiblet', | ||
field=models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
related_name='quibs', | ||
to='quiblet.quiblet', | ||
verbose_name='quiblet', | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters