| 123456789101112131415161718192021222324252627282930313233 |
- # Generated by Django 3.2.13 on 2022-05-19 14:30
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- dependencies = [
- ('pos', '0014_order_note'),
- ]
- operations = [
- migrations.CreateModel(
- name='Ingredient',
- 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)),
- ('inProcess', models.CharField(blank=True, max_length=100, null=True)),
- ('status', models.CharField(choices=[('process', 'Process'), ('fn', 'Finished')], default='process', max_length=100)),
- ('name', models.CharField(max_length=200)),
- ('qty', models.DecimalField(decimal_places=2, max_digits=5)),
- ('unit', models.CharField(max_length=10)),
- ('comment', models.TextField(blank=True, null=True)),
- ('menu', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pos.menuitem')),
- ],
- options={
- 'abstract': False,
- },
- ),
- ]
|