mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
revert(findings): change uid from varchar to text (#7132)
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# Generated by Django 5.1.5 on 2025-02-26 13:33
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("api", "0012_scan_report_output"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="finding",
|
||||
name="uid",
|
||||
field=models.TextField(blank=False, null=False),
|
||||
),
|
||||
]
|
||||
@@ -636,7 +636,7 @@ class Finding(PostgresPartitionedModel, RowLevelSecurityProtectedModel):
|
||||
updated_at = models.DateTimeField(auto_now=True, editable=False)
|
||||
first_seen_at = models.DateTimeField(editable=False, null=True)
|
||||
|
||||
uid = models.TextField(blank=False, null=False)
|
||||
uid = models.CharField(max_length=300)
|
||||
delta = FindingDeltaEnumField(
|
||||
choices=DeltaChoices.choices,
|
||||
blank=True,
|
||||
|
||||
@@ -5834,7 +5834,7 @@ components:
|
||||
properties:
|
||||
uid:
|
||||
type: string
|
||||
nullable: false
|
||||
maxLength: 300
|
||||
delta:
|
||||
enum:
|
||||
- new
|
||||
@@ -5893,6 +5893,7 @@ components:
|
||||
readOnly: true
|
||||
nullable: true
|
||||
required:
|
||||
- uid
|
||||
- status
|
||||
- severity
|
||||
- check_id
|
||||
|
||||
Reference in New Issue
Block a user