Skip to content
Snippets Groups Projects

Toggling pregrading and Identifying blank solutions

Open Ghost User requested to merge feature/toggle-pregrading into develop
Compare and Show latest version
1 file
+ 3
5
Compare changes
  • Side-by-side
  • Inline
""" empty message
""" Adds column to problem to specify the grading policy
Revision ID: 02f99246020f
Revises: b46a2994605b
@@ -16,14 +16,12 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
# Add grading policy column to Problem
op.add_column('problem', sa.Column('value',
sa.Enum('set_nothing', 'set_blank', 'set_blank_single', name='gradingpolicy'),
default=1, nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
# Remove grading policy column from Problem
op.drop_column('problem', 'value')
# ### end Alembic commands ###
Loading