1 # Generated by Django 4.0.3 on 2022-03-04 15:43
3 from django.conf import settings
4 from django.db import migrations, models
5 import django.db.models.deletion
8 class Migration(migrations.Migration):
11 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12 ('nutrition', '0002_name_and_brand_as_char_fields'),
16 migrations.CreateModel(
19 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20 ('weight', models.PositiveIntegerField()),
21 ('units', models.CharField(choices=[('kgs', 'kgs'), ('lbs', 'lbs')], max_length=3)),
22 ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),