Skip to content

Commit 5149543

Browse files
committed
Fix migrations
There was a mistake commit in the history where the unique_together of VulnerabilityReference was reordered without creating a new migration This is fixing this to ensure we can migrate correctly Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 6688cb6 commit 5149543

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 4.0.7 on 2022-09-09 16:12
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('vulnerabilities', '0025_remove_duplicate_reference_urls'),
10+
]
11+
12+
operations = [
13+
migrations.AlterUniqueTogether(
14+
name='vulnerabilityreference',
15+
unique_together=set(),
16+
),
17+
]
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
# Generated by Django 4.0.7 on 2022-09-09 12:34
1+
# Generated by Django 4.0.7 on 2022-09-09 16:19
22

33
from django.db import migrations, models
44

55

66
class Migration(migrations.Migration):
77

88
dependencies = [
9-
('vulnerabilities', '0025_remove_duplicate_reference_urls'),
9+
('vulnerabilities', '0026_alter_vulnerabilityreference_unique_together'),
1010
]
1111

1212
operations = [
13-
migrations.AlterUniqueTogether(
14-
name='vulnerabilityreference',
15-
unique_together=set(),
16-
),
1713
migrations.AlterField(
1814
model_name='vulnerabilityreference',
1915
name='url',

0 commit comments

Comments
 (0)