diff --git a/src/core/pyros_django/user_mgmt/models.py b/src/core/pyros_django/user_mgmt/models.py index 5740262..9a1f5e5 100644 --- a/src/core/pyros_django/user_mgmt/models.py +++ b/src/core/pyros_django/user_mgmt/models.py @@ -476,6 +476,9 @@ class ScientificProgram(models.Model): is_auto_validated = models.BooleanField(default=False) objects = ScientificProgramManager() quota = models.ForeignKey(Quota, on_delete=models.DO_NOTHING,related_name="scientific_program_quotas", blank=True, null=True) + f_quota = models.FloatField( + validators=[MinValueValidator(0), MaxValueValidator(1)], blank=True, null=True) + class Meta: managed = True db_table = 'scientific_program' -- libgit2 0.21.2