mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-24 06:52:24 +01:00
29 lines
739 B
Python
29 lines
739 B
Python
"""empty message
|
|
|
|
Revision ID: 9ec17b558413
|
|
Revises: 97a9c461bc2d
|
|
Create Date: 2019-01-29 00:37:49.507631
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
from sqlalchemy.dialects import postgresql
|
|
|
|
# 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 ###
|