# Generated by Django 4.1.4 on 2023-08-14 09:15

import atlas.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('atlas', '0011_seriesimage_dicom_tags_ohif'),
    ]

    operations = [
        migrations.AddField(
            model_name='seriesimage',
            name='image_md5_hash',
            field=models.CharField(blank=True, max_length=32, null=True),
        ),
        migrations.AddField(
            model_name='seriesimage',
            name='is_dicom',
            field=models.BooleanField(default=False),
        ),
        migrations.CreateModel(
            name='UncategorisedDicom',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.FileField(upload_to=atlas.models.uncategorised_dicom_directory_path)),
                ('image_md5_hash', models.CharField(blank=True, max_length=32, null=True)),
                ('series', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='imported_dicoms', to='atlas.series')),
                ('user', models.ForeignKey(help_text='The user that uploaded the file', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
