# Generated by Django 3.2.20 on 2023-08-30 14:06

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


class Migration(migrations.Migration):
    dependencies = [
        ("course", "0004_auto_20230823_1744"),
        ("notify", "0001_initial"),
    ]

    operations = [
        migrations.RemoveField(
            model_name="notification",
            name="course",
        ),
        migrations.RemoveField(
            model_name="notification",
            name="notification_type",
        ),
        migrations.AddField(
            model_name="notification",
            name="course_session",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to="course.coursesession",
            ),
        ),
        migrations.AddField(
            model_name="notification",
            name="notification_category",
            field=models.CharField(
                choices=[
                    ("USER_INTERACTION", "User Interaction"),
                    ("PROGRESS", "Progress"),
                    ("INFORMATION", "Information"),
                ],
                default="INFORMATION",
                max_length=255,
            ),
        ),
        migrations.AddField(
            model_name="notification",
            name="notification_trigger",
            field=models.CharField(
                choices=[
                    ("ATTENDANCE_COURSE_REMINDER", "Attendance Course Reminder"),
                    ("CASEWORK_SUBMITTED", "Casework Submitted"),
                    ("CASEWORK_EVALUATED", "Casework Evaluated"),
                    ("NEW_FEEDBACK", "New Feedback"),
                ],
                default="ATTENDANCE_COURSE_REMINDER",
                max_length=255,
            ),
        ),
        migrations.AlterField(
            model_name="notification",
            name="actor_avatar_url",
            field=models.CharField(blank=True, default="", max_length=2048),
        ),
        migrations.AlterField(
            model_name="notification",
            name="target_url",
            field=models.CharField(blank=True, default="", max_length=2048),
        ),
    ]
