Commit f0cca512 by Matjaz Gregoric Committed by GitHub

Merge pull request #133 from open-craft/mtyaka/remove-tricky-migration

Remove migration that extends course_id column
parents 165d1a2e 0c700bb5
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('problem_builder', '0002_auto_20160121_1525'),
]
operations = [
migrations.AlterField(
model_name='answer',
name='course_id',
field=models.CharField(max_length=255, db_index=True),
),
]
......@@ -39,7 +39,7 @@ class Answer(models.Model):
name = models.CharField(max_length=50, db_index=True)
student_id = models.CharField(max_length=32, db_index=True)
course_id = models.CharField(max_length=255, db_index=True)
course_id = models.CharField(max_length=50, db_index=True)
student_input = models.TextField(blank=True, default='')
created_on = models.DateTimeField('created on', auto_now_add=True)
modified_on = models.DateTimeField('modified on', auto_now=True)
......
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