I'm trying to use gino with sanic for an experimental project. And I blocked with migrating my model.py to the database.
I used flask-migrate
when I use flask and sqlalchemy (more exactly, it's flask-sqlalchemy though)
What is the common tool for managing db migration in sanic & gino stack?
Checkout this issue: https://github.com/fantix/gino/issues/374
And these instructions: https://gist.github.com/omarryhan/cb7bf6d7142c154496ba6623a56326c2#file-sanic-gino-alembic-migrations-setup
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.