NewsLab
Aug 28 16:21 UTC

Show HN: DBLift – database migration management for Python teams (dblift.com)

6 points|by cmodiano||5 comments|Read full story on dblift.com
I’ve been working for a while on DBLift, an open-source database migration toolkit for Python teams. DBLift follows the same model flyway does with the same main commands and the same history table structure making it easy to switch from one to the other with the import_flyway command.

By default DBLift is out of order meaning that any unapplied migration is eligible to be applied contrary to flyway which refuse to apply any migration with a lower version until you force it. You can still apply the original flyway model you can still opt-in with the —strict flag. https://docs.dblift.com/migrations-versioning

The main difference is the runtime, No JVM. If you already work in python DBLift integrates with your existing tooling: pip, sqlalchemy, Django, Flask…

Honest feedback welcome — especially if you're currently using Flyway on a Python project and it works fine, I'd like to understand what I'm missing. GitHub: https://github.com/dblift/dblift Docs: https://docs.dblift.com Move from Flyway: https://docs.dblift.com/move-from-flyway Supported databases: https://docs.dblift.com/supported-databases Ordering: https://docs.dblift.com/migrations-versioning

Comments (5)

5 shown
  1. 1. tianzhou||context
    Congrats on the launch, good project name and glad to see new project trying to address the classic schema migration problem.
  2. 2. cmodiano||context
    Thank you very much, there are a lot of them already, tried to address the Python ecosystem integration to the maximum.
  3. 3. sshussain270||context
    Migration Engineer is a job category, and if you build an agent around it, I think you could make many manual jobs obsolete.
  4. 4. cmodiano||context
    Thats's not the goal of this tool, I built this around the flyway workflow for python teams which want to get rid of the JVM part on their workflow and better integration in their python environment. Migration engineers still decide what needs to be shipped, generating sql from model is Alembic's job and DBlift can sit next to that.
  5. 5. sshussain270||context
    Oh I see!