35 lines
1.3 KiB
Python
35 lines
1.3 KiB
Python
# Generated by Django 5.1.4 on 2024-12-07 10:40
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Feeding',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('feeding_type', models.CharField(choices=[('bottle', 'Bottle'), ('breast', 'Breast')], max_length=10)),
|
|
('amount', models.FloatField(blank=True, null=True)),
|
|
('duration', models.FloatField(blank=True, null=True)),
|
|
('notes', models.TextField(blank=True)),
|
|
],
|
|
),
|
|
migrations.CreateModel(
|
|
name='Potty',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('consistency', models.CharField(choices=[('solid', 'Solid'), ('soft', 'Soft'), ('watery', 'Watery'), ('pee', 'Pee'), ('other', 'Other')], max_length=50)),
|
|
('notes', models.TextField(blank=True)),
|
|
],
|
|
),
|
|
]
|