def upgrade():
"""Upgrade the database to a newer revision."""
# commands auto generated by Alembic - please adjust! ###
op.alter_column('stack_analyses_request', 'requestJson',
existing_type=postgresql.JSONB(),
type_=sa.String(length=4096),
existing_nullable=False)
# end Alembic commands ###
813f9a704eb7_stack_request_coltypechange.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录