From 64888f1c1b42f9fdf214be26bcd7ad2585ce4654 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Thu, 12 Jul 2012 10:29:15 -0400 Subject: [PATCH] Re-added the migration to expand the meta field. --- ...rseregistration.py => 0008__auto__add_courseregistration.py} | 0 ... 0009_auto__del_courseregistration__add_courseenrollment.py} | 0 ...id.py => 0010_auto__chg_field_courseenrollment_course_id.py} | 0 ...d_courseenrollment_user__del_unique_courseenrollment_use.py} | 0 ...d_userprofile_gender__add_field_userprofile_date_of_birt.py} | 0 lms/djangoapps/student/models.py | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename lms/djangoapps/student/migrations/{0006_auto__add_courseregistration.py => 0008__auto__add_courseregistration.py} (100%) rename lms/djangoapps/student/migrations/{0008_auto__del_courseregistration__add_courseenrollment.py => 0009_auto__del_courseregistration__add_courseenrollment.py} (100%) rename lms/djangoapps/student/migrations/{0009_auto__chg_field_courseenrollment_course_id.py => 0010_auto__chg_field_courseenrollment_course_id.py} (100%) rename lms/djangoapps/student/migrations/{0010_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py => 0011_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py} (100%) rename lms/djangoapps/student/migrations/{0011_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py => 0012_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py} (100%) diff --git a/lms/djangoapps/student/migrations/0006_auto__add_courseregistration.py b/lms/djangoapps/student/migrations/0008__auto__add_courseregistration.py similarity index 100% rename from lms/djangoapps/student/migrations/0006_auto__add_courseregistration.py rename to lms/djangoapps/student/migrations/0008__auto__add_courseregistration.py diff --git a/lms/djangoapps/student/migrations/0008_auto__del_courseregistration__add_courseenrollment.py b/lms/djangoapps/student/migrations/0009_auto__del_courseregistration__add_courseenrollment.py similarity index 100% rename from lms/djangoapps/student/migrations/0008_auto__del_courseregistration__add_courseenrollment.py rename to lms/djangoapps/student/migrations/0009_auto__del_courseregistration__add_courseenrollment.py diff --git a/lms/djangoapps/student/migrations/0009_auto__chg_field_courseenrollment_course_id.py b/lms/djangoapps/student/migrations/0010_auto__chg_field_courseenrollment_course_id.py similarity index 100% rename from lms/djangoapps/student/migrations/0009_auto__chg_field_courseenrollment_course_id.py rename to lms/djangoapps/student/migrations/0010_auto__chg_field_courseenrollment_course_id.py diff --git a/lms/djangoapps/student/migrations/0010_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py b/lms/djangoapps/student/migrations/0011_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py similarity index 100% rename from lms/djangoapps/student/migrations/0010_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py rename to lms/djangoapps/student/migrations/0011_auto__chg_field_courseenrollment_user__del_unique_courseenrollment_use.py diff --git a/lms/djangoapps/student/migrations/0011_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py b/lms/djangoapps/student/migrations/0012_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py similarity index 100% rename from lms/djangoapps/student/migrations/0011_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py rename to lms/djangoapps/student/migrations/0012_auto__add_field_userprofile_gender__add_field_userprofile_date_of_birt.py diff --git a/lms/djangoapps/student/models.py b/lms/djangoapps/student/models.py index c5b0d444b9..81cf37c5fd 100644 --- a/lms/djangoapps/student/models.py +++ b/lms/djangoapps/student/models.py @@ -29,7 +29,7 @@ class UserProfile(models.Model): name = models.CharField(blank=True, max_length=255, db_index=True) language = models.CharField(blank=True, max_length=255, db_index=True) location = models.CharField(blank=True, max_length=255, db_index=True) # TODO: What are we doing with this? - meta = models.CharField(blank=True, max_length=255) # JSON dictionary for future expansion + meta = models.TextField(blank=True) # JSON dictionary for future expansion courseware = models.CharField(blank=True, max_length=255, default='course.xml') gender = models.CharField(blank=True, null=True, max_length=6, choices=GENDER_CHOICES) date_of_birth = models.DateField(blank=True, null=True)