contentdb/migrations/versions/81e0eb07a3cd_.py
2018-05-23 19:24:10 +01:00

35 lines
901 B
Python

"""empty message
Revision ID: 81e0eb07a3cd
Revises: f30031f0b928
Create Date: 2018-05-23 19:22:56.590653
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '81e0eb07a3cd'
down_revision = 'f30031f0b928'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('package_release', 'url',
existing_type=sa.VARCHAR(length=100),
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', 'url',
existing_type=sa.String(length=200),
type_=sa.VARCHAR(length=100),
existing_nullable=False)
# ### end Alembic commands ###