Commit fdf540d2 by Peter Fogg

Merge pull request #11236 from edx/peter-fogg/fix-course-mode-migration

Change broken course_modes migration to not touch the database.
parents 68ba8ece 4f323443
......@@ -11,6 +11,9 @@ class Migration(migrations.Migration):
]
operations = [
migrations.SeparateDatabaseAndState(
database_operations=[],
state_operations=[
migrations.RemoveField(
model_name='coursemode',
name='expiration_datetime',
......@@ -21,3 +24,5 @@ class Migration(migrations.Migration):
field=models.DateTimeField(db_column=b'expiration_datetime', default=None, blank=True, help_text='OPTIONAL: After this date/time, users will no longer be able to enroll in this mode. Leave this blank if users can enroll in this mode until enrollment closes for the course.', null=True, verbose_name='Upgrade Deadline'),
),
]
)
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment