gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
42
core/apps/eggs/migrations/0023_broken.py
Normal file
42
core/apps/eggs/migrations/0023_broken.py
Normal file
@@ -0,0 +1,42 @@
|
||||
# Generated by Django 5.0.6 on 2024-05-08 13:58
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("eggs", "0022_alter_location_lat_alter_location_long"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="Broken",
|
||||
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)),
|
||||
("comment", models.TextField(verbose_name="Comment")),
|
||||
("quantity", models.IntegerField(verbose_name="Quantity")),
|
||||
(
|
||||
"product",
|
||||
models.ManyToManyField(
|
||||
related_name="brokens", to="eggs.product"
|
||||
),
|
||||
),
|
||||
],
|
||||
options={
|
||||
"verbose_name": "Broken",
|
||||
"verbose_name_plural": "Brokens",
|
||||
"db_table": "broken",
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user