# Generated by Django 3.1.2 on 2020-10-17 12:24

from django.db import migrations, models
import modelcluster.fields
import wagtail.core.fields


class Migration(migrations.Migration):

    dependencies = [
        ('ayewa', '0007_resource_resource_class'),
    ]

    operations = [
        migrations.CreateModel(
            name='ResourceNeed',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, default='', max_length=40, verbose_name='name')),
                ('description', wagtail.core.fields.RichTextField(blank=True, verbose_name='Description')),
            ],
            options={
                'verbose_name': 'Resource Need',
                'verbose_name_plural': 'Resource Needs',
            },
        ),
        migrations.AlterField(
            model_name='resource',
            name='resource_class',
            field=modelcluster.fields.ParentalManyToManyField(blank=True, to='ayewa.ResourceClass'),
        ),
        migrations.AddField(
            model_name='resource',
            name='resource_need',
            field=modelcluster.fields.ParentalManyToManyField(blank=True, to='ayewa.ResourceNeed'),
        ),
    ]

# Generated by Django 3.1.2 on 2020-10-17 12:24

from django.db import migrations, models
import modelcluster.fields
import wagtail.core.fields


class Migration(migrations.Migration):

    dependencies = [
        ('ayewa', '0007_resource_resource_class'),
    ]

    operations = [
        migrations.CreateModel(
            name='ResourceNeed',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, default='', max_length=40, verbose_name='name')),
                ('description', wagtail.core.fields.RichTextField(blank=True, verbose_name='Description')),
            ],
            options={
                'verbose_name': 'Resource Need',
                'verbose_name_plural': 'Resource Needs',
            },
        ),
        migrations.AlterField(
            model_name='resource',
            name='resource_class',
            field=modelcluster.fields.ParentalManyToManyField(blank=True, to='ayewa.ResourceClass'),
        ),
        migrations.AddField(
            model_name='resource',
            name='resource_need',
            field=modelcluster.fields.ParentalManyToManyField(blank=True, to='ayewa.ResourceNeed'),
        ),
    ]

# Generated by Django 3.1.2 on 2020-10-17 12:24