# Generated by Django 2.2.19 on 2021-10-29 15:45

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

import passerelle.contrib.toulouse_smart.models


class Migration(migrations.Migration):

    dependencies = [
        ('toulouse_smart', '0003_smartrequest'),
    ]

    operations = [
        migrations.CreateModel(
            name='WcsRequestFile',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('filename', models.CharField(max_length=256)),
                ('content_type', models.CharField(max_length=256)),
                ('content', models.FileField(upload_to=passerelle.contrib.toulouse_smart.models.upload_to)),
                (
                    'resource',
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name='files',
                        to='toulouse_smart.WcsRequest',
                    ),
                ),
            ],
        ),
    ]
