mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
django2.2: add on_delete on migrations for OneToOneField
This commit is contained in:
@ -26,6 +26,7 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"counter",
|
||||
models.OneToOneField(
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
related_name="launderette",
|
||||
verbose_name="counter",
|
||||
to="counter.Counter",
|
||||
|
Reference in New Issue
Block a user