flask数据库迁移常用命令

app.run()
更新
python manage.py db migrate
python manage.py db upgrade

创建新的迁移库
python manage.py db init
python manage.py db migrate -m "initial migration"
python manage.py db upgrade

python manage.py runserver
posted @ 2020-07-18 21:16  名字很长容易被惦记  阅读(197)  评论(0编辑  收藏  举报