Skip to content

Commit

Permalink
Merge pull request #102 from dbca-wa/dbca_compliance_mgt_dev
Browse files Browse the repository at this point in the history
Alter migration to allow null call_type
  • Loading branch information
mintcoding authored Nov 30, 2021
2 parents 0af9452 + 77f896c commit 9fd6f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wildlifecompliance/migrations/0554_auto_20211123_1319.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='callemail',
name='call_type',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='call_type', to='wildlifecompliance.CallType'),
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='call_type', to='wildlifecompliance.CallType'),
preserve_default=False,
),
]

0 comments on commit 9fd6f9b

Please sign in to comment.