diff options
Diffstat (limited to 'migrations/versions/e9f534df23a8_.py')
-rw-r--r-- | migrations/versions/e9f534df23a8_.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/migrations/versions/e9f534df23a8_.py b/migrations/versions/e9f534df23a8_.py new file mode 100644 index 0000000..be55dd5 --- /dev/null +++ b/migrations/versions/e9f534df23a8_.py @@ -0,0 +1,34 @@ +"""empty message + +Revision ID: e9f534df23a8 +Revises: adad68a5e370 +Create Date: 2018-06-02 18:30:54.234366 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = 'e9f534df23a8' +down_revision = 'adad68a5e370' +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.alter_column('krock_forum_topic', 'link', + existing_type=sa.VARCHAR(length=50), + type_=sa.String(length=200), + existing_nullable=False) + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.alter_column('package_release', 'link', + existing_type=sa.String(length=200), + type_=sa.VARCHAR(length=50), + existing_nullable=False) + # ### end Alembic commands ### |