mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
28 lines
696 B
Python
28 lines
696 B
Python
"""empty message
|
|
|
|
Revision ID: 9ec17b558413
|
|
Revises: 97a9c461bc2d
|
|
Create Date: 2019-01-29 00:37:49.507631
|
|
|
|
"""
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
# 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 ###
|