def upgrade():
# There can be data truncation here as LargeBinary can be smaller than the pickle
# type.
# use batch_alter_table to support SQLite workaround
with op.batch_alter_table("xcom") as batch_op:
batch_op.alter_column('value', type_=sa.LargeBinary())
bdaa763e6c56_make_xcom_value_column_a_large_binary.py 文件源码
python
阅读 31
收藏 0
点赞 0
评论 0
评论列表
文章目录