# Generated by Django 1.11.29 on 2021-08-06 10:46

import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('toulouse_smart', '0002_auto_20210806_1242'),
    ]

    operations = [
        migrations.CreateModel(
            name='SmartRequest',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('payload', django.contrib.postgres.fields.jsonb.JSONField()),
                ('result', django.contrib.postgres.fields.jsonb.JSONField(null=True)),
                (
                    'resource',
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name='smart_requests',
                        to='toulouse_smart.WcsRequest',
                    ),
                ),
            ],
        ),
    ]
