# Generated by Django 5.0.4 on 2024-04-24 07:17

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


class Migration(migrations.Migration):

    dependencies = [
        (
            "eggs",
            "0005_rename_product_group_product_id_remove_group_party_and_more",
        ),
    ]

    operations = [
        migrations.AddField(
            model_name="party",
            name="count",
            field=models.IntegerField(default=1),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="party",
            name="sold",
            field=models.DecimalField(
                decimal_places=2, default=1, max_digits=10
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="party",
            name="sold_price",
            field=models.DecimalField(
                decimal_places=2, default=1, max_digits=10
            ),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name="group",
            name="party_id",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="groups",
                to="eggs.party",
            ),
        ),
    ]
