chore: set default value as null for estimate point

This commit is contained in:
pablohashescobar 2023-04-13 19:54:34 +05:30
parent c3ffd233a6
commit b4c8323886

View File

@ -39,7 +39,7 @@ class Issue(ProjectBaseModel):
related_name="state_issue",
)
estimate_point = models.IntegerField(
default=0, validators=[MinValueValidator(0), MaxValueValidator(7)]
validators=[MinValueValidator(0), MaxValueValidator(7)], null=True, blank=True
)
name = models.CharField(max_length=255, verbose_name="Issue Name")
description = models.JSONField(blank=True, default=dict)