diff --git a/problem_builder/migrations/0003_auto_20161116_0730.py b/problem_builder/migrations/0003_auto_20161116_0730.py deleted file mode 100644 index d10dee6f..00000000 --- a/problem_builder/migrations/0003_auto_20161116_0730.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- 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), - ), - ] diff --git a/problem_builder/models.py b/problem_builder/models.py index abc47768..5afc3df7 100644 --- a/problem_builder/models.py +++ b/problem_builder/models.py @@ -39,7 +39,7 @@ class Meta: 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)