# Generated by Django 4.0.3 on 2023-02-23 17:58

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('receipe', '0010_alter_nutritionalvalues_energyunit'),
    ]

    operations = [
        migrations.RemoveIndex(
            model_name='category',
            name='receipe_cat_name_e79a8c_idx',
        ),
        migrations.RemoveIndex(
            model_name='category',
            name='receipe_cat_level_4234e7_idx',
        ),
        migrations.RemoveField(
            model_name='category',
            name='level',
        ),
        migrations.AddField(
            model_name='category',
            name='depth',
            field=models.PositiveIntegerField(default=0),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='category',
            name='numchild',
            field=models.PositiveIntegerField(default=0),
        ),
        migrations.AddField(
            model_name='category',
            name='path',
            field=models.CharField(default='', max_length=255, unique=True),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='category',
            name='name',
            field=models.CharField(max_length=30),
        ),
    ]
