class Migration(migrations.Migration): dependencies = [ ('RestApi', '0012_auto_20210528_1209'), ] operations = [ migrations.CreateModel( name='Dish', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('author', models.CharField(max_length=40)), ('types', djongo.models.fields.ArrayField( model_container=RestApi.models.TextElement, model_form_class=RestApi.models.TextForm)), ('description', models.CharField(max_length=1000)), ('Ingredients', djongo.models.fields.ArrayField( model_container=RestApi.models.Ingredient, model_form_class=RestApi.models.IngredientForm)), ('img', models.CharField(max_length=100)), ('reviews', djongo.models.fields.ArrayReferenceField( on_delete=django.db.models.deletion.CASCADE, to='RestApi.Review')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('RestApi', '0007_delete_dish'), ] operations = [ migrations.CreateModel( name='Dish', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('author', models.CharField(max_length=40)), ('types', djongo.models.fields.ArrayField( model_container=RestApi.models.TextElement, model_form_class=RestApi.models.TextForm)), ('recipeID', models.IntegerField()), ('img', models.CharField(max_length=100)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AvailableIngredient', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('unitType', models.CharField(max_length=20)), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('text', models.CharField(max_length=1000)), ('userName', models.CharField(max_length=50)), ('title', models.CharField(max_length=50)), ('img', models.CharField(max_length=100)), ], ), migrations.CreateModel( name='Recipe', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('description', models.CharField(max_length=1000)), ('Ingredients', djongo.models.fields.ArrayField(model_container=RestApi.models.Ingredient, model_form_class=RestApi.models.IngredientForm)), ], ), migrations.CreateModel( name='Review', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('text', models.CharField(max_length=1000)), ('userName', models.CharField(max_length=50)), ('rating', models.IntegerField()), ], ), ]