# Generated by Django 5.2.4 on 2025-08-05 12:57

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Tikategory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('landscape', models.BooleanField()),
                ('prototempalte', models.FileField(upload_to='')),
            ],
            options={
                'verbose_name_plural': 'tikategoriez',
            },
        ),
        migrations.CreateModel(
            name='Tisub',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('descritpion', models.TextField()),
                ('default', models.TextField()),
                ('type', models.CharField(choices=[('ST', 'Short Text'), ('LT', 'Long Text'), ('C', 'Color'), ('YM', 'Year Month'), ('B', 'Boolean')], default='ST', max_length=2)),
            ],
            options={
                'verbose_name_plural': 'tisubz',
            },
        ),
        migrations.CreateModel(
            name='Tizer',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.CharField()),
            ],
            options={
                'verbose_name_plural': 'tizerz',
            },
        ),
        migrations.CreateModel(
            name='Tikette',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=100)),
                ('designation', models.CharField(max_length=100)),
                ('ingredients', models.TextField()),
                ('description', models.TextField()),
                ('color', models.CharField(max_length=6)),
                ('ab', models.CharField(choices=[('inline', 'Visible'), ('none', 'Invisible')], max_length=7)),
                ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tikette.tikategory')),
            ],
            options={
                'verbose_name_plural': 'tikettz',
            },
        ),
        migrations.AddField(
            model_name='tikategory',
            name='subs',
            field=models.ManyToManyField(to='tikette.tisub'),
        ),
    ]
