Python Database Migration Tool

Posted on  by

README.rst Migrations Simple, database-agnostic migration tool for Python applications. Status The project is in beta now.

Alembic 0.7.3Python Database Migration Tool

Bugs and breaking changes may occur. Features • No specific database requirements, use it for anything you call database. Telesales Software. Money Pyramid Game Show. • Pretty simple, just generate migration script and define self-explanatory up() and down() functions there. • Use imports in your migration scripts to load database bindings.

Talk to the database the same way your application does. • Stores the sequence of already performed migrations. If the sequence does not match scripts in migrations directory (e.g.

After merge), aborts and warns user. • TBD: Deeply configurable, including resources acquiring and releasing. Requirements Only Python 3 is supported for now. $ pip install migrations Notice, this distribution provides package and executable script named migrate, so check if it does not mess with existing packages/scripts.