def downgrade():
bind = op.get_bind()
session = Session(bind=bind)
session._model_changes = False # workaround for Flask-SQLAlchemy
m = session.query(Notification).filter_by(message='CLN_NOTIFICATION').first()
if m is not None:
session.delete(m)
session.commit()
37ccf7811576_add_cln_notification.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录