mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-13 01:59:41 +00:00
Add on_delete=models.CASCADE to old migrations
This commit is contained in:
@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name='event',
|
||||
name='person',
|
||||
field=models.ForeignKey(blank=True, null=True, to='RIGS.Person'),
|
||||
field=models.ForeignKey(blank=True, null=True, to='RIGS.Person', on_delete=models.CASCADE),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user