mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
35 lines
905 B
Python
35 lines
905 B
Python
"""empty message
|
|
|
|
Revision ID: 9832944cd1e4
|
|
Revises: 838081950f27
|
|
Create Date: 2020-07-15 15:00:45.440381
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '9832944cd1e4'
|
|
down_revision = '838081950f27'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('thread_reply', 'comment',
|
|
existing_type=sa.VARCHAR(length=500),
|
|
type_=sa.String(length=2000),
|
|
existing_nullable=False)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('thread_reply', 'comment',
|
|
existing_type=sa.String(length=2000),
|
|
type_=sa.VARCHAR(length=500),
|
|
existing_nullable=False)
|
|
# ### end Alembic commands ###
|