1.创建迁移环境 

flask db init

2.生成迁移脚本

flask db migrate -m "add note timestamp" 

3.更新数据库 

flask db upgrade


0 Comments latest

No comments.