# Generated by Django 2.2.9 on 2019-12-20 13:22

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


class Migration(migrations.Migration):

    dependencies = [
        ('datasets', '0004_auto_20191220_1321'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProfileIndicator',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('indicator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.Indicator')),
                ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.Profile')),
                ('subcategory', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.IndicatorSubcategory')),
            ],
        ),
        migrations.AddField(
            model_name='profile',
            name='indicators',
            field=models.ManyToManyField(through='datasets.ProfileIndicator', to='datasets.Indicator'),
        ),
    ]

# Generated by Django 2.2.9 on 2019-12-20 13:22

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


class Migration(migrations.Migration):

    dependencies = [
        ('datasets', '0004_auto_20191220_1321'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProfileIndicator',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('indicator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.Indicator')),
                ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.Profile')),
                ('subcategory', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='datasets.IndicatorSubcategory')),
            ],
        ),
        migrations.AddField(
            model_name='profile',
            name='indicators',
            field=models.ManyToManyField(through='datasets.ProfileIndicator', to='datasets.Indicator'),
        ),
    ]

# Generated by Django 2.2.9 on 2019-12-20 13:22