From 3a63675b028c40ab6860ab2b443a07423124fb3d Mon Sep 17 00:00:00 2001 From: Tushar Goel Date: Tue, 5 Dec 2023 19:17:33 +0530 Subject: [PATCH] Add qualifiers_temp in unique_together step 3 Reference: https://github.com/nexB/vulnerablecode/issues/1327 Signed-off-by: Tushar Goel Signed-off-by: Philippe Ombredanne --- .../0048_alter_package_unique_together.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vulnerabilities/migrations/0048_alter_package_unique_together.py diff --git a/vulnerabilities/migrations/0048_alter_package_unique_together.py b/vulnerabilities/migrations/0048_alter_package_unique_together.py new file mode 100644 index 000000000..4b4d3f3f8 --- /dev/null +++ b/vulnerabilities/migrations/0048_alter_package_unique_together.py @@ -0,0 +1,19 @@ +# Generated by Django 4.1.7 on 2023-12-05 13:42 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("vulnerabilities", "0047_copy_qualifiers_to_qualifiers_temp"), + ] + + operations = [ + migrations.AlterUniqueTogether( + name="package", + unique_together={ + ("type", "namespace", "name", "version", "qualifiers", "subpath", "qualifiers_temp") + }, + ), + ]