contentdb/migrations/versions/9ec17b558413_.py

28 lines
696 B
Python
Raw Normal View History

2019-01-29 01:43:55 +01:00
"""empty message
Revision ID: 9ec17b558413
Revises: 97a9c461bc2d
Create Date: 2019-01-29 00:37:49.507631
"""
import sqlalchemy as sa
2020-12-04 03:23:04 +01:00
from alembic import op
2019-01-29 01:43:55 +01:00
# revision identifiers, used by Alembic.
revision = '9ec17b558413'
down_revision = '97a9c461bc2d'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('package_release', sa.Column('downloads', sa.Integer(), nullable=False, server_default="0"))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('package_release', 'downloads')
# ### end Alembic commands ###