# Generated by Django 4.2.29 on 2026-03-05 17:01

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("foods", "0004_remove_food_run_time_seconds_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="food",
            name="carbohydrates",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="cook_time_minutes",
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="fat",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="fiber",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="ingredients",
            field=models.TextField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="instructions",
            field=models.TextField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="prep_time_minutes",
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="protein",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="servings",
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="sodium",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="source_site",
            field=models.CharField(blank=True, max_length=100, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="source_url",
            field=models.URLField(blank=True, null=True, unique=True),
        ),
        migrations.AddField(
            model_name="food",
            name="sugar",
            field=models.DecimalField(
                blank=True, decimal_places=2, max_digits=10, null=True
            ),
        ),
        migrations.AddField(
            model_name="food",
            name="total_time_minutes",
            field=models.IntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name="food",
            name="yield_text",
            field=models.CharField(blank=True, max_length=255, null=True),
        ),
        migrations.AddIndex(
            model_name="food",
            index=models.Index(
                fields=["source_url"], name="foods_food_source__f42f6f_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="food",
            index=models.Index(
                fields=["allrecipe_id"], name="foods_food_allreci_3e7a6c_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="food",
            index=models.Index(
                fields=["description"], name="foods_food_descrip_fccd4d_idx"
            ),
        ),
        migrations.RenameField(
            model_name="food",
            old_name="allrecipe_image",
            new_name="recipe_image",
        ),
        migrations.RemoveField(
            model_name="foodcategory",
            name="allrecipe_image",
        ),
        migrations.AddField(
            model_name="foodcategory",
            name="category_image",
            field=models.ImageField(blank=True, null=True, upload_to="food/category/"),
        ),
    ]
