如何在 python 中使用 gino 管理迁移

How to manage migrations with gino in python

我正在尝试将 gino with sanic 用于实验项目。我阻止了将 model.py 迁移到数据库。

我在使用 flask 和 sqlalchemy 时使用了 flask-migrate(更确切地说,它是 flask-sqlalchemy)

在 sanic 和 gino 堆栈中管理数据库迁移的常用工具是什么?

检查这个问题:https://github.com/fantix/gino/issues/374

这些说明:https://gist.github.com/omarryhan/cb7bf6d7142c154496ba6623a56326c2#file-sanic-gino-alembic-migrations-setup