Skip to content
0027_flowsession_expiration_mode.py 516 B
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('course', '0026_gradingopportunity_shown_in_student_grade_book'),
    ]

    operations = [
        migrations.AddField(
            model_name='flowsession',
            name='expiration_mode',
Dong Zhuang's avatar
Dong Zhuang committed
            field=models.CharField(default='end', max_length=20, null=True, choices=[(b'end', b'End session'), (b'roll_over', b'Roll over to new rules')]),
            preserve_default=True,
        ),
    ]