<reponame>janthiemen/data_scout_server
# Generated by Django 3.0.4 on 2021-01-31 13:49

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


class Migration(migrations.Migration):

    dependencies = [
        ('scout', '0006_auto_20210130_2047'),
    ]

    operations = [
        migrations.AddField(
            model_name='datasource',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='next', to='scout.DataSource'),
        ),
        migrations.CreateModel(
            name='RecipeFolder',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=512)),
                ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='child_folders', to='scout.RecipeFolder')),
            ],
        ),
        migrations.AddField(
            model_name='recipe',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='scout.RecipeFolder'),
        ),
    ]

# Generated by Django 3.0.4 on 2021-01-31 13:49

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


class Migration(migrations.Migration):

    dependencies = [
        ('scout', '0006_auto_20210130_2047'),
    ]

    operations = [
        migrations.AddField(
            model_name='datasource',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='next', to='scout.DataSource'),
        ),
        migrations.CreateModel(
            name='RecipeFolder',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=512)),
                ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='child_folders', to='scout.RecipeFolder')),
            ],
        ),
        migrations.AddField(
            model_name='recipe',
            name='parent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='scout.RecipeFolder'),
        ),
    ]
# Generated by Django 3.0.4 on 2021-01-31 13:49