Files
edx-platform/lms/djangoapps/grades/migrations/0011_null_edited_time.py
Eric Fischer 6f8383199f Allow null edited_timestamp
Some old mongo courses do not have this field, and the team has opted
to allow null values rather than inserting a default. This change
affects both course and subsection grades.

TNL-6408
2017-01-30 13:19:36 -05:00

30 lines
974 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('grades', '0010_auto_20170112_1156'),
]
operations = [
migrations.AlterField(
model_name='persistentcoursegrade',
name='course_edited_timestamp',
field=models.DateTimeField(null=True, verbose_name='Last content edit timestamp', blank=True),
),
migrations.AlterField(
model_name='persistentsubsectiongrade',
name='course_version',
field=models.CharField(max_length=255, verbose_name='Guid of latest course version', blank=True),
),
migrations.AlterField(
model_name='persistentsubsectiongrade',
name='subtree_edited_timestamp',
field=models.DateTimeField(null=True, verbose_name='Last content edit timestamp', blank=True),
),
]