Skip to content
Snippets Groups Projects
Commit be40f1fc authored by Ruben Young On's avatar Ruben Young On
Browse files

Removed unnecessary migration

parent 341e3240
No related branches found
No related tags found
1 merge request!11MultipleChoiceOption is a widget, /exams API call now returns checkbox data
Pipeline #17595 passed
""" empty message
Revision ID: 26f690576109
Revises: 4204f4a83863
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '26f690576109'
down_revision = '4204f4a83863'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('mc_option',
sa.Column('id', sa.Integer(), autoincrement=True, nullable=False),
sa.Column('label', sa.String(), nullable=True),
sa.Column('feedback_id', sa.Integer(), nullable=True),
sa.ForeignKeyConstraint(['feedback_id'], ['feedback_option.id'], ),
sa.ForeignKeyConstraint(['id'], ['widget.id'], ),
sa.PrimaryKeyConstraint('id')
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('mc_option')
# ### end Alembic commands ###
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment