Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
f0cca512
Commit
f0cca512
authored
Nov 24, 2016
by
Matjaz Gregoric
Committed by
GitHub
Nov 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #133 from open-craft/mtyaka/remove-tricky-migration
Remove migration that extends course_id column
parents
165d1a2e
0c700bb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
20 deletions
+1
-20
problem_builder/migrations/0003_auto_20161116_0730.py
+0
-19
problem_builder/models.py
+1
-1
No files found.
problem_builder/migrations/0003_auto_20161116_0730.py
deleted
100644 → 0
View file @
165d1a2e
# -*- 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
),
),
]
problem_builder/models.py
View file @
f0cca512
...
...
@@ -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
)
...
...
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