fix: add default=False to BooleanFields (otherwise it might complain about "not NULL")
This commit is contained in:
parent
112545544b
commit
088c53e78b
@ -160,8 +160,8 @@ class Host(models.Model):
|
||||
last_update_ipv4 = models.DateTimeField(blank=True, null=True)
|
||||
last_update_ipv6 = models.DateTimeField(blank=True, null=True)
|
||||
# how we received the last update for v4/v6 addr
|
||||
ssl_update_ipv4 = models.BooleanField()
|
||||
ssl_update_ipv6 = models.BooleanField()
|
||||
ssl_update_ipv4 = models.BooleanField(default=False)
|
||||
ssl_update_ipv6 = models.BooleanField(default=False)
|
||||
|
||||
last_update = models.DateTimeField(auto_now=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user