# Generated by Django 5.1.3 on 2024-12-10 09:51

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


class Migration(migrations.Migration):

    dependencies = [
        ('Accounts', '0003_userprofile_company_name'),
        ('Device', '0007_devices_mac_address_devices_unique_id'),
        ('malware', '0002_malwareprediction_model_type'),
    ]

    operations = [
        migrations.CreateModel(
            name='MalwarePredictionsDevice',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('file_path', models.FileField(upload_to='malware_predictions/')),
                ('uploaded_at', models.DateTimeField(auto_now_add=True)),
                ('device', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='Device.devices')),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='Accounts.userprofile')),
            ],
        ),
    ]
