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

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


class Migration(migrations.Migration):
    initial = True

    dependencies = [
        ("mama_care", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="UserDevice",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("token", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "deviceOSTypeId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="deviceostype_userdevice",
                        to="mama_care.deviceostype",
                    ),
                ),
                (
                    "parentProfileId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="parentprofile_userdevice",
                        to="mama_care.parentprofile",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Notification",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("title", models.TextField()),
                ("body", models.TextField()),
                ("createdDate", models.DateTimeField()),
                ("updatedDate", models.DateTimeField()),
                (
                    "userDeviceId",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="userdevice_notification",
                        to="mama_care_notification.userdevice",
                    ),
                ),
            ],
        ),
    ]
