Skip to content

Commit c2f85f0

Browse files
committed
Update the PoCs migration file
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent eada311 commit c2f85f0

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

vulnerabilities/migrations/0104_advisorypoc.py

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by Django 4.2.25 on 2025-12-04 01:05
1+
# Generated by Django 4.2.25 on 2025-12-04 17:35
22

33
from django.db import migrations, models
44
import django.db.models.deletion
@@ -20,10 +20,35 @@ class Migration(migrations.Migration):
2020
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
2121
),
2222
),
23-
("created_at", models.DateTimeField(blank=True, null=True)),
24-
("updated_at", models.DateTimeField(blank=True, null=True)),
25-
("url", models.URLField()),
26-
("is_confirmed", models.BooleanField(default=False)),
23+
(
24+
"created_at",
25+
models.DateTimeField(
26+
blank=True,
27+
help_text="The date and time when this POC was created.",
28+
null=True,
29+
),
30+
),
31+
(
32+
"updated_at",
33+
models.DateTimeField(
34+
blank=True,
35+
help_text="The date and time when this POC was last updated.",
36+
null=True,
37+
),
38+
),
39+
(
40+
"url",
41+
models.URLField(
42+
help_text="The URL of the PoC, such as a repository or resource link."
43+
),
44+
),
45+
(
46+
"is_confirmed",
47+
models.BooleanField(
48+
default=False,
49+
help_text="Indicates whether this POC has been verified or confirmed.",
50+
),
51+
),
2752
(
2853
"advisory",
2954
models.ForeignKey(

0 commit comments

Comments
 (0)