This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
868 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
migration/versions/453b256dce6b_test_strip_parse_errors.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
"""test_strip_parse_errors | ||
Revision ID: 453b256dce6b | ||
Revises: 3a8c537e6090 | ||
Create Date: 2013-06-30 20:58:50.998667 | ||
""" | ||
# | ||
# # SAUCE - System for AUtomated Code Evaluation | ||
# # Copyright (C) 2013 Moritz Schlarb | ||
# # | ||
# # This program is free software: you can redistribute it and/or modify | ||
# # it under the terms of the GNU Affero General Public License as published by | ||
# # the Free Software Foundation, either version 3 of the License, or | ||
# # any later version. | ||
# # | ||
# # This program is distributed in the hope that it will be useful, | ||
# # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# # GNU Affero General Public License for more details. | ||
# # | ||
# # You should have received a copy of the GNU Affero General Public License | ||
# # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '453b256dce6b' | ||
down_revision = '530b45f11128' | ||
|
||
from alembic import op | ||
#from alembic.operations import Operations as op | ||
import sqlalchemy as sa | ||
|
||
|
||
def upgrade(): | ||
op.add_column('tests', sa.Column(u'strip_parse_errors', sa.Boolean(), nullable=False, default=False, server_default='False')) | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('tests', u'strip_parse_errors') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
"""Source code scaffolds | ||
Revision ID: 4b2435ef2487 | ||
Revises: 453b256dce6b | ||
Create Date: 2014-03-16 22:05:22.960849 | ||
""" | ||
# | ||
# # SAUCE - System for AUtomated Code Evaluation | ||
# # Copyright (C) 2013 Moritz Schlarb | ||
# # | ||
# # This program is free software: you can redistribute it and/or modify | ||
# # it under the terms of the GNU Affero General Public License as published by | ||
# # the Free Software Foundation, either version 3 of the License, or | ||
# # any later version. | ||
# # | ||
# # This program is distributed in the hope that it will be useful, | ||
# # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# # GNU Affero General Public License for more details. | ||
# # | ||
# # You should have received a copy of the GNU Affero General Public License | ||
# # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '4b2435ef2487' | ||
down_revision = '453b256dce6b' | ||
|
||
from alembic import op | ||
#from alembic.operations import Operations as op | ||
import sqlalchemy as sa | ||
|
||
|
||
def upgrade(): | ||
op.add_column('assignments', sa.Column('submission_scaffold_foot', sa.Unicode(10485760), nullable=True)) | ||
op.add_column('assignments', sa.Column('submission_scaffold_head', sa.Unicode(10485760), nullable=True)) | ||
op.add_column('assignments', sa.Column('submission_filename', sa.Unicode(255), nullable=True)) | ||
op.add_column('assignments', sa.Column('submission_template', sa.Unicode(10485760), nullable=True)) | ||
op.add_column('assignments', sa.Column('submission_scaffold_show', sa.Boolean(), nullable=False, default=True, server_default='True')) | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('assignments', 'submission_scaffold_show') | ||
op.drop_column('assignments', 'submission_template') | ||
op.drop_column('assignments', 'submission_filename') | ||
op.drop_column('assignments', 'submission_scaffold_head') | ||
op.drop_column('assignments', 'submission_scaffold_foot') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.