mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
29 lines
739 B
Python
29 lines
739 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 97a9c461bc2d
|
||
|
Revises: 7def3e843d04
|
||
|
Create Date: 2019-01-28 20:49:41.831991
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
from sqlalchemy.dialects import postgresql
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '97a9c461bc2d'
|
||
|
down_revision = '7def3e843d04'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('minetest_release', sa.Column('protocol', sa.Integer(), nullable=False, server_default="0"))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('minetest_release', 'protocol')
|
||
|
# ### end Alembic commands ###
|