mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
chore: Delete numerous application modules, templates, static assets, documentation, and build files.
This commit is contained in:
31
orders/migrations/0001_initial.py
Normal file
31
orders/migrations/0001_initial.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 5.1.4 on 2025-01-10 16:28
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('comandas', '0003_comanda_status_alter_productcomanda_product'),
|
||||
('products', '0003_product_cuisine'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Order',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('obs', models.TextField(blank=True, null=True)),
|
||||
('queue', models.DateTimeField(auto_now_add=True)),
|
||||
('preparing', models.DateTimeField(blank=True, null=True)),
|
||||
('finished', models.DateTimeField(blank=True, null=True)),
|
||||
('delivered', models.DateTimeField(blank=True, null=True)),
|
||||
('canceled', models.DateTimeField(blank=True, null=True)),
|
||||
('id_comanda', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='comandas.comanda')),
|
||||
('id_product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.product')),
|
||||
],
|
||||
),
|
||||
]
|
||||
20
orders/migrations/0002_order_productcomanda.py
Normal file
20
orders/migrations/0002_order_productcomanda.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.1.4 on 2025-01-10 19:24
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('comandas', '0003_comanda_status_alter_productcomanda_product'),
|
||||
('orders', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='productComanda',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='comandas.productcomanda'),
|
||||
),
|
||||
]
|
||||
0
orders/migrations/__init__.py
Normal file
0
orders/migrations/__init__.py
Normal file
Reference in New Issue
Block a user