# Generated by Django 3.2.20 on 2023-12-07 13:46

import uuid

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


class Migration(migrations.Migration):
    dependencies = [
        ("course", "0005_course_enable_circle_documents"),
        ("learning_mentor", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="MentorInvitation",
            fields=[
                (
                    "created",
                    django_extensions.db.fields.CreationDateTimeField(
                        auto_now_add=True, verbose_name="created"
                    ),
                ),
                (
                    "modified",
                    django_extensions.db.fields.ModificationDateTimeField(
                        auto_now=True, verbose_name="modified"
                    ),
                ),
                (
                    "id",
                    models.UUIDField(
                        default=uuid.uuid4,
                        editable=False,
                        primary_key=True,
                        serialize=False,
                    ),
                ),
                ("email", models.EmailField(max_length=254)),
                (
                    "participant",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="course.coursesessionuser",
                    ),
                ),
            ],
            options={
                "verbose_name": "Mentor Invitation",
                "verbose_name_plural": "Mentor Invitations",
            },
        ),
    ]
