Skip to content

Commit c72c19b

Browse files
committed
fix: add proper default value
1 parent 8a35b94 commit c72c19b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wlhosted/payments/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class Customer(models.Model):
100100
vat_validated = models.DateTimeField(blank=True, null=True, db_index=True)
101101
vat_validation_state = models.PositiveSmallIntegerField(
102102
db_index=True,
103+
default=0,
103104
)
104105
vat_validation_error = models.JSONField(
105106
default=dict, blank=True, encoder=DjangoJSONEncoder

0 commit comments

Comments
 (0)