ffdd80058eed_add_surrogate_key_to_product.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:ltd-keeper 作者: lsst-sqre 项目源码 文件源码
def upgrade():
    with op.batch_alter_table('products', schema=None) as batch_op:
        batch_op.add_column(sa.Column('surrogate_key',
                                      sa.String(length=32),
                                      nullable=True))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号