[WEB-6149] migration: change estimate point key max value to 50 #8620
This commit is contained in:
parent
0887cbbda8
commit
57ce2a5429
2 changed files with 20 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class Estimate(ProjectBaseModel):
|
|||
|
||||
class EstimatePoint(ProjectBaseModel):
|
||||
estimate = models.ForeignKey("db.Estimate", on_delete=models.CASCADE, related_name="points")
|
||||
key = models.IntegerField(default=0, validators=[MinValueValidator(0), MaxValueValidator(12)])
|
||||
key = models.IntegerField(default=0, validators=[MinValueValidator(0)])
|
||||
description = models.TextField(blank=True)
|
||||
value = models.CharField(max_length=255)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue