Skip to content

Track db migrations in version control #129

@thatarchguy

Description

@thatarchguy

I didn't quite understand the flask-migrate process.

It becomes really useful when doing upgrade of the software that requires a database migration.

Instead of having the user generate their own migrations with python manage.py db migrate && python manage.py db upgrade, we can have finer control between versions and such if we track the migrations in git.

They simply do a python manage.py db upgrade and it will apply each migration in order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions