You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
3.1 KiB
57 lines
3.1 KiB
# Generated by Django 5.0.2 on 2024-03-05 08:14 |
|
|
|
from django.db import migrations, models |
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
initial = True |
|
|
|
dependencies = [ |
|
] |
|
|
|
operations = [ |
|
migrations.CreateModel( |
|
name='Dish', |
|
fields=[ |
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
('name', models.CharField(max_length=255, unique=True)), |
|
('image', models.TextField()), |
|
('likes', models.IntegerField(default=0)), |
|
('tags', models.TextField()), |
|
('indications', models.TextField()), |
|
('Calories', models.CharField(max_length=255, unique=True)), |
|
('Salt', models.CharField(max_length=255, unique=True)), |
|
('Protein', models.CharField(max_length=255, unique=True)), |
|
('Total_fat', models.CharField(max_length=255, unique=True)), |
|
('Total_Carbohydrate', models.CharField(max_length=255, unique=True)), |
|
('Total_sugar', models.CharField(max_length=255, unique=True)), |
|
('Dietary_fiber', models.CharField(max_length=255, unique=True)), |
|
('Soluble_fiber', models.CharField(max_length=255, unique=True)), |
|
('K', models.CharField(max_length=255, unique=True)), |
|
('Ca', models.CharField(max_length=255, unique=True)), |
|
('Mg', models.CharField(max_length=255, unique=True)), |
|
('P', models.CharField(max_length=255, unique=True)), |
|
('Fe', models.CharField(max_length=255, unique=True)), |
|
('Zn', models.CharField(max_length=255, unique=True)), |
|
('I', models.CharField(max_length=255, unique=True)), |
|
('Cholesterol', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_B1', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_B2', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_C', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_B6', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_B12', models.CharField(max_length=255, unique=True)), |
|
('Folate', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_A', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_D', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_K', models.CharField(max_length=255, unique=True)), |
|
('Vitamin_E', models.CharField(max_length=255, unique=True)), |
|
('Saturated_fatty_acid', models.CharField(max_length=255, unique=True)), |
|
('Monounsaturated_fatty_acid', models.CharField(max_length=255, unique=True)), |
|
('Polyunsaturated_fatty_acid', models.CharField(max_length=255, unique=True)), |
|
('Ingredients', models.TextField()), |
|
('Steps', models.JSONField()), |
|
('Step_images_Base64', models.JSONField()), |
|
], |
|
), |
|
]
|
|
|