# Generated by Django 4.0.3 on 2022-04-26 08:42

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('vulnerabilities', '0010_vulnerabilityrelatedreference_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='vulnerability',
            name='packages',
            field=models.ManyToManyField(through='vulnerabilities.PackageRelatedVulnerability', to='vulnerabilities.package'),
        ),
        migrations.AlterField(
            model_name='package',
            name='vulnerabilities',
            field=models.ManyToManyField(through='vulnerabilities.PackageRelatedVulnerability', to='vulnerabilities.vulnerability'),
        ),
        migrations.AlterField(
            model_name='packagerelatedvulnerability',
            name='package',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='vulnerabilities.package'),
        ),
    ]
