Alembic
摘要:Alembic入门 Alembic是一个处理数据库更改的工具。 当它们使用元数据的create_all方法时,SQLAlchemy只会创建缺失的表,所以它不会更新数据库表以反映我们对列所做的更改。 Alembic提供一种 添加/删除表,更改列名和添加新约束的方法。 安装: pip install a
阅读全文
posted @ 2020-12-27 22:02
posted @ 2020-12-27 22:02
posted @ 2020-12-25 15:48
posted @ 2020-12-24 16:40