fix(Finding): PRWLR-5098 change the size of the UID field to 300 characters (#58)

This commit is contained in:
Adrián Jesús Peña Rodríguez
2024-10-22 11:58:49 +02:00
committed by GitHub
parent ed427c1352
commit a4b16dd1e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -898,7 +898,7 @@ class Migration(migrations.Migration):
),
("inserted_at", models.DateTimeField(auto_now_add=True)),
("updated_at", models.DateTimeField(auto_now=True)),
("uid", models.CharField(max_length=150)),
("uid", models.CharField(max_length=300)),
(
"delta",
api.db_utils.FindingDeltaEnumField(
+1 -1
View File
@@ -488,7 +488,7 @@ class Finding(PostgresPartitionedModel, RowLevelSecurityProtectedModel):
inserted_at = models.DateTimeField(auto_now_add=True, editable=False)
updated_at = models.DateTimeField(auto_now=True, editable=False)
uid = models.CharField(max_length=150)
uid = models.CharField(max_length=300)
delta = FindingDeltaEnumField(
choices=DeltaChoices.choices,
blank=True,