You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("course", "0012_courselivesession_recording_title"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="courselivesession",
|
|
name="auto_close_after_moderator_exit_at",
|
|
field=models.DateTimeField(
|
|
blank=True,
|
|
help_text="When the session should be auto-closed if no moderator returns.",
|
|
null=True,
|
|
verbose_name="Auto Close After Moderator Exit At",
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="courselivesession",
|
|
name="last_moderator_left_at",
|
|
field=models.DateTimeField(
|
|
blank=True,
|
|
help_text="Timestamp when the last moderator left the live session.",
|
|
null=True,
|
|
verbose_name="Last Moderator Left At",
|
|
),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name="courselivesession",
|
|
index=models.Index(
|
|
fields=["ended_at", "auto_close_after_moderator_exit_at"],
|
|
name="course_cour_ended_a_0f47b4_idx",
|
|
),
|
|
),
|
|
]
|