# Generated by Django 4.2.8 on 2023-12-26 03:40

from django.db import migrations, models


class Migration(migrations.Migration):
    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="Product",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.CharField(max_length=256)),
                ("opisanie", models.TextField(max_length=999)),
                ("price", models.DecimalField(decimal_places=2, max_digits=50)),
                ("image", models.ImageField(upload_to="media/product")),
                (
                    "type",
                    models.CharField(
                        choices=[("Услуги", "Услуги"), ("Товари", "Товари")],
                        max_length=6,
                    ),
                ),
            ],
        ),
    ]
