mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
29 lines
677 B
Python
29 lines
677 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 9e2ac631efb0
|
||
|
Revises: 11b6ef362f98
|
||
|
Create Date: 2018-07-06 23:16:50.507010
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '9e2ac631efb0'
|
||
|
down_revision = '11b6ef362f98'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('forum_topic', sa.Column('wip', sa.Boolean(), nullable=False, server_default="0"))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('forum_topic', 'wip')
|
||
|
# ### end Alembic commands ###
|