From b4c8323886e69b4268c228cfeea468502e8dfee7 Mon Sep 17 00:00:00 2001 From: pablohashescobar Date: Thu, 13 Apr 2023 19:54:34 +0530 Subject: [PATCH] chore: set default value as null for estimate point --- apiserver/plane/db/models/issue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/db/models/issue.py b/apiserver/plane/db/models/issue.py index 2443054a1..fed946a61 100644 --- a/apiserver/plane/db/models/issue.py +++ b/apiserver/plane/db/models/issue.py @@ -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)