Target database is not up to date

前端 未结 11 1207
别那么骄傲
别那么骄傲 2020-12-12 16:54

I\'d like to make a migration for a Flask app. I am using Alembic.

However, I receive the following error.

T         


        
11条回答
  •  清歌不尽
    2020-12-12 17:22

    To solve this, I drop(delete) the tables in migration and run these commands

    flask db migrate
    

    and

    flask db upgrade
    

提交回复
热议问题