# Generated by Django 5.2.1 on 2025-11-12 11:47

import django.db.models.deletion
import mama_care.models
from django.db import migrations, models


class Migration(migrations.Migration):
    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="BMICaseType",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="CalculationMethod",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="Child",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("isSelected", models.BooleanField(default=False)),
                ("name", models.TextField()),
                ("dateOfBirth", models.DateTimeField()),
                ("weight", models.FloatField(default=0)),
                ("length", models.FloatField(default=0)),
                ("head", models.FloatField(default=0)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="ChildType",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name="DeviceOSType",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="Gender",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name="KickTrackerGroup",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("date", models.DateTimeField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="KickTrackerStatus",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("count", models.IntegerField()),
                ("color", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="Language",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                ("countryCode", models.CharField(max_length=10)),
                ("languageCode", models.CharField(max_length=10)),
                ("isEnabled", models.BooleanField(default=False)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="MonthlyTip",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("monthNumber", models.IntegerField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="Parent",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("phone", models.TextField()),
                ("isTryingToBePregnant", models.BooleanField(default=False)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_parent",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyBabySize",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "image",
                    models.ImageField(
                        blank=True,
                        default="/default/holder.jpg",
                        max_length=255,
                        null=True,
                        upload_to=mama_care.models.baby_size_picture_path,
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyCheckList",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyNutrition",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="PregnancySymptom",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyWeek",
            fields=[
                ("id", models.IntegerField(primary_key=True, serialize=False)),
                ("keyName", models.TextField()),
                ("weekNumber", models.IntegerField()),
                ("trimester", models.IntegerField()),
                (
                    "image",
                    models.ImageField(
                        blank=True,
                        default="/default/holder.jpg",
                        max_length=255,
                        null=True,
                        upload_to=mama_care.models.pregnancy_week_picture_path,
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="SymptomGroup",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("date", models.DateTimeField()),
                ("note", models.TextField(blank=True, default="", null=True)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="SymptomType",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                (
                    "image",
                    models.ImageField(
                        blank=True,
                        default="/default/holder.jpg",
                        max_length=255,
                        null=True,
                        upload_to=mama_care.models.symptom_picture_path,
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="TokenType",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("tokenTypeLen", models.IntegerField(default=27)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
            ],
        ),
        migrations.CreateModel(
            name="BMICase",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("keyName", models.TextField()),
                ("min", models.FloatField()),
                ("max", models.FloatField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "bmiCaseTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="bmicasetype_bmicase",
                        to="mama_care.bmicasetype",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="BMICaseWeightGain",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("min", models.FloatField()),
                ("max", models.FloatField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "bmiCaseId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="bmicase_bmicaseweightgain",
                        to="mama_care.bmicase",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="ParentProfile",
            fields=[
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "childId",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        primary_key=True,
                        related_name="child_parentprofile",
                        serialize=False,
                        to="mama_care.child",
                    ),
                ),
            ],
        ),
        migrations.AddField(
            model_name="child",
            name="childTypeId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="childtype_child",
                to="mama_care.childtype",
            ),
        ),
        migrations.AddField(
            model_name="child",
            name="genderId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="gender_child",
                to="mama_care.gender",
            ),
        ),
        migrations.CreateModel(
            name="KickTrackerRow",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("date", models.DateTimeField()),
                ("seconds", models.IntegerField(default=0)),
                ("kicks", models.IntegerField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "kickTrackerGroupId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="kicktrackergroup_kicktrackerrow",
                        to="mama_care.kicktrackergroup",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="KickTrackerStatusLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                ("description", models.TextField()),
                (
                    "kickTrackerStatusId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="kicktrackerstatus_kicktrackerstatuslanguage",
                        to="mama_care.kicktrackerstatus",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_kicktrackerstatuslanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="GenderLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "genderId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="gender_genderlanguage",
                        to="mama_care.gender",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_genderlanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="ChildTypeLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "childTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="childtype_childtypelanguage",
                        to="mama_care.childtype",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_childtypelanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="CalculationMethodLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "calculationMethodId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="calculationmethod_calculationmethodlanguage",
                        to="mama_care.calculationmethod",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_calculationmethodlanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="BMICaseTypeLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "bmiCaseTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="bmicasetype_bmicasetypelanguage",
                        to="mama_care.bmicasetype",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_bmicasetypelanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="BMICaseLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "bmiCaseId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="bmicase_bmicaselanguage",
                        to="mama_care.bmicase",
                    ),
                ),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_bmicaselanguage",
                        to="mama_care.language",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="MonthlyTipLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("title", models.TextField()),
                ("description", models.TextField()),
                ("inspiration", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_monthlytiplanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "monthlyTipId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="monthlytip_monthlytiplanguage",
                        to="mama_care.monthlytip",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="ParentDetail",
            fields=[
                ("firstName", models.TextField()),
                ("lastName", models.TextField()),
                ("password", models.TextField()),
                ("email", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentId",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        primary_key=True,
                        related_name="parent_parentdetail",
                        serialize=False,
                        to="mama_care.parent",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="EmergencyContact",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("fullName", models.TextField()),
                ("phone", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parent_emergencycontact",
                        to="mama_care.parent",
                    ),
                ),
            ],
        ),
        migrations.AddField(
            model_name="child",
            name="parentId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="parent_child",
                to="mama_care.parent",
            ),
        ),
        migrations.CreateModel(
            name="PregnancyBabySizeLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_pregnancybabysizelanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "pregnancyBabySizeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="pregnancybabysize_pregnancybabysizelanguage",
                        to="mama_care.pregnancybabysize",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyCheckListLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_pregnancychecklistlanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "pregnancyCheckListId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="pregnancychecklist_pregnancychecklistlanguage",
                        to="mama_care.pregnancychecklist",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="PregnancyNutritionLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_pregnancyNutritionlanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "pregnancyNutritionId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="pregnancyNutrition_pregnancyNutritionlanguage",
                        to="mama_care.pregnancynutrition",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="PregnancySymptomLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_pregnancySymptomlanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "pregnancySymptomId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="pregnancysymptom_pregnancySymptomlanguage",
                        to="mama_care.pregnancysymptom",
                    ),
                ),
            ],
        ),
        migrations.AddField(
            model_name="pregnancysymptom",
            name="pregnancyWeekId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="pregnancyweek_pregnancySymptom",
                to="mama_care.pregnancyweek",
            ),
        ),
        migrations.AddField(
            model_name="pregnancynutrition",
            name="pregnancyWeekId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="pregnancyweek_pregnancyNutrition",
                to="mama_care.pregnancyweek",
            ),
        ),
        migrations.AddField(
            model_name="pregnancychecklist",
            name="pregnancyWeekId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="pregnancyweek_pregnancychecklist",
                to="mama_care.pregnancyweek",
            ),
        ),
        migrations.AddField(
            model_name="pregnancybabysize",
            name="pregnancyWeekId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="pregnancyweek_pregnancybabysize",
                to="mama_care.pregnancyweek",
            ),
        ),
        migrations.CreateModel(
            name="PregnancyWeekLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("fetalDevelopment", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_pregnancyweeklanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "pregnancyWeekId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="pregnancyweek_pregnancyweeklanguage",
                        to="mama_care.pregnancyweek",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SymptomRow",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "symptomGroupId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="symptomgroup_symptomrow",
                        to="mama_care.symptomgroup",
                    ),
                ),
                (
                    "symptomTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="symptomtype_symptomrow",
                        to="mama_care.symptomtype",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SymptomTypeLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("name", models.TextField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_symptomtypelanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "symptomTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="symptomtype_symptomtypelanguage",
                        to="mama_care.symptomtype",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Tip",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "monthlyTipId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="monthlytip_tip",
                        to="mama_care.monthlytip",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="TipLanguage",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "languageId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="language_tiplanguage",
                        to="mama_care.language",
                    ),
                ),
                (
                    "tipId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="tip_tiplanguage",
                        to="mama_care.tip",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="WeightGain",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("height", models.FloatField()),
                ("prePregnancyWeight", models.FloatField()),
                ("currentWeight", models.FloatField()),
                ("currentWeek", models.IntegerField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "bmiCaseId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="bmicase_weightgain",
                        to="mama_care.bmicase",
                    ),
                ),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_weightgain",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Todo",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("title", models.TextField()),
                ("date", models.DateField()),
                ("dateTime", models.DateTimeField()),
                ("isDone", models.BooleanField(default=False)),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_todo",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.AddField(
            model_name="symptomgroup",
            name="parentProfileId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="parentprofile_symptom",
                to="mama_care.parentprofile",
            ),
        ),
        migrations.CreateModel(
            name="Ovulation",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("lastMenstrualPeriod", models.DateTimeField()),
                ("cycleLength", models.IntegerField()),
                ("nextPeriod", models.DateTimeField()),
                ("ovulationDay", models.DateTimeField()),
                ("fertileStart", models.DateTimeField()),
                ("fertileEnd", models.DateTimeField()),
                ("expectedDueDate", models.DateTimeField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_ovulation",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Notes",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("title", models.TextField()),
                ("description", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_notes",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.AddField(
            model_name="kicktrackergroup",
            name="parentProfileId",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="parentprofile_kicktrackergroup",
                to="mama_care.parentprofile",
            ),
        ),
        migrations.CreateModel(
            name="DueDateCalculator",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("lastMenstrualPeriod", models.DateTimeField()),
                ("cycleLength", models.IntegerField()),
                ("conceiveDate", models.DateTimeField()),
                ("dateOfTransfer", models.DateTimeField()),
                ("numOfDays", models.IntegerField()),
                ("ultrasoundDate", models.DateTimeField()),
                ("weeks", models.IntegerField()),
                ("days", models.IntegerField()),
                ("expectedDueDate", models.DateTimeField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "calculationMethodId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="calculationmethod_duedatecalculator",
                        to="mama_care.calculationmethod",
                    ),
                ),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_duedatecalculator",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Appointment",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("title", models.TextField()),
                ("doctorName", models.TextField()),
                ("speciality", models.TextField()),
                ("date", models.DateTimeField()),
                ("dateTime", models.DateTimeField()),
                ("isDone", models.BooleanField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_appointment",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="ParentToken",
            fields=[
                ("token", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "parentId",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        primary_key=True,
                        related_name="parent_parenttoken",
                        serialize=False,
                        to="mama_care.parent",
                    ),
                ),
                (
                    "tokenTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="tokentype_parenttoken",
                        to="mama_care.tokentype",
                    ),
                ),
            ],
        ),
    ]
