# Generated by Django 3.2.13 on 2022-05-30 08:10

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import djrichtextfield.models
import mptt.fields


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('pos', '0031_auto_20220530_1417'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='bookingtable',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='bookingtable',
            name='status',
        ),
        migrations.RemoveField(
            model_name='ingredient',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='ingredient',
            name='status',
        ),
        migrations.RemoveField(
            model_name='menufile',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='menufile',
            name='status',
        ),
        migrations.RemoveField(
            model_name='menuitem',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='menuitem',
            name='status',
        ),
        migrations.RemoveField(
            model_name='order',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='order',
            name='status',
        ),
        migrations.RemoveField(
            model_name='orderitem',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='orderitem',
            name='status',
        ),
        migrations.RemoveField(
            model_name='setting',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='setting',
            name='status',
        ),
        migrations.RemoveField(
            model_name='store',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='store',
            name='status',
        ),
        migrations.RemoveField(
            model_name='storefile',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='storefile',
            name='status',
        ),
        migrations.RemoveField(
            model_name='table',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='table',
            name='status',
        ),
        migrations.RemoveField(
            model_name='uimenu',
            name='inProcess',
        ),
        migrations.RemoveField(
            model_name='uimenu',
            name='status',
        ),
        migrations.CreateModel(
            name='PostCategory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('lft', models.PositiveIntegerField(editable=False)),
                ('rght', models.PositiveIntegerField(editable=False)),
                ('tree_id', models.PositiveIntegerField(db_index=True, editable=False)),
                ('level', models.PositiveIntegerField(editable=False)),
                ('parent', mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='pos.postcategory')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('title', models.CharField(max_length=200)),
                ('content', djrichtextfield.models.RichTextField()),
                ('owner', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
