Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
aaceb288
Commit
aaceb288
authored
Jul 31, 2013
by
Miles Steele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mysql indexing validity in migrations
parent
17c77dd1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
common/djangoapps/student/migrations/0023_add_test_center_registration.py
+2
-2
common/djangoapps/student/migrations/0024_add_allow_certificate.py
+1
-1
common/djangoapps/student/migrations/0025_auto__add_field_courseenrollmentallowed_auto_enroll.py
+1
-1
common/djangoapps/student/models.py
+1
-1
No files found.
common/djangoapps/student/migrations/0023_add_test_center_registration.py
View file @
aaceb288
...
...
@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
(
'eligibility_appointment_date_first'
,
self
.
gf
(
'django.db.models.fields.DateField'
)(
db_index
=
True
)),
(
'eligibility_appointment_date_last'
,
self
.
gf
(
'django.db.models.fields.DateField'
)(
db_index
=
True
)),
(
'accommodation_code'
,
self
.
gf
(
'django.db.models.fields.CharField'
)(
max_length
=
64
,
blank
=
True
)),
(
'accommodation_request'
,
self
.
gf
(
'django.db.models.fields.CharField'
)(
db_index
=
Tru
e
,
max_length
=
1024
,
blank
=
True
)),
(
'accommodation_request'
,
self
.
gf
(
'django.db.models.fields.CharField'
)(
db_index
=
Fals
e
,
max_length
=
1024
,
blank
=
True
)),
(
'uploaded_at'
,
self
.
gf
(
'django.db.models.fields.DateTimeField'
)(
null
=
True
,
db_index
=
True
)),
(
'processed_at'
,
self
.
gf
(
'django.db.models.fields.DateTimeField'
)(
null
=
True
,
db_index
=
True
)),
(
'upload_status'
,
self
.
gf
(
'django.db.models.fields.CharField'
)(
db_index
=
True
,
max_length
=
20
,
blank
=
True
)),
...
...
@@ -163,7 +163,7 @@ class Migration(SchemaMigration):
'student.testcenterregistration'
:
{
'Meta'
:
{
'object_name'
:
'TestCenterRegistration'
},
'accommodation_code'
:
(
'django.db.models.fields.CharField'
,
[],
{
'max_length'
:
'64'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Tru
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Fals
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'authorization_id'
:
(
'django.db.models.fields.IntegerField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
'client_authorization_id'
:
(
'django.db.models.fields.CharField'
,
[],
{
'unique'
:
'True'
,
'max_length'
:
'20'
,
'db_index'
:
'True'
}),
'confirmed_at'
:
(
'django.db.models.fields.DateTimeField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
...
...
common/djangoapps/student/migrations/0024_add_allow_certificate.py
View file @
aaceb288
...
...
@@ -93,7 +93,7 @@ class Migration(SchemaMigration):
'student.testcenterregistration'
:
{
'Meta'
:
{
'object_name'
:
'TestCenterRegistration'
},
'accommodation_code'
:
(
'django.db.models.fields.CharField'
,
[],
{
'max_length'
:
'64'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Tru
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Fals
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'authorization_id'
:
(
'django.db.models.fields.IntegerField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
'client_authorization_id'
:
(
'django.db.models.fields.CharField'
,
[],
{
'unique'
:
'True'
,
'max_length'
:
'20'
,
'db_index'
:
'True'
}),
'confirmed_at'
:
(
'django.db.models.fields.DateTimeField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
...
...
common/djangoapps/student/migrations/0025_auto__add_field_courseenrollmentallowed_auto_enroll.py
View file @
aaceb288
...
...
@@ -94,7 +94,7 @@ class Migration(SchemaMigration):
'student.testcenterregistration'
:
{
'Meta'
:
{
'object_name'
:
'TestCenterRegistration'
},
'accommodation_code'
:
(
'django.db.models.fields.CharField'
,
[],
{
'max_length'
:
'64'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Tru
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'accommodation_request'
:
(
'django.db.models.fields.CharField'
,
[],
{
'db_index'
:
'
Fals
e'
,
'max_length'
:
'1024'
,
'blank'
:
'True'
}),
'authorization_id'
:
(
'django.db.models.fields.IntegerField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
'client_authorization_id'
:
(
'django.db.models.fields.CharField'
,
[],
{
'unique'
:
'True'
,
'max_length'
:
'20'
,
'db_index'
:
'True'
}),
'confirmed_at'
:
(
'django.db.models.fields.DateTimeField'
,
[],
{
'null'
:
'True'
,
'db_index'
:
'True'
}),
...
...
common/djangoapps/student/models.py
View file @
aaceb288
...
...
@@ -370,7 +370,7 @@ class TestCenterRegistration(models.Model):
accommodation_code
=
models
.
CharField
(
max_length
=
64
,
blank
=
True
)
# store the original text of the accommodation request.
accommodation_request
=
models
.
CharField
(
max_length
=
1024
,
blank
=
True
,
db_index
=
Tru
e
)
accommodation_request
=
models
.
CharField
(
max_length
=
1024
,
blank
=
True
,
db_index
=
Fals
e
)
# time at which edX sent the registration to the test center
uploaded_at
=
models
.
DateTimeField
(
null
=
True
,
db_index
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment