Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 9f60217

Browse files
committed
fix: update booleanFields to be not null
1 parent 5db1104 commit 9f60217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_covid19/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Country(models.Model):
4646
curedCount = models.IntegerField(default=0)
4747
deadCount = models.IntegerField(default=0)
4848

49-
showRank = models.BooleanField(null=True)
49+
showRank = models.BooleanField(default=False)
5050
deadRateRank = models.IntegerField(null=True)
5151
deadCountRank = models.IntegerField(null=True)
5252
confirmedCountRank = models.FloatField(null=True)

0 commit comments

Comments
 (0)