migrate - SQLAlchemy Migrate (schema change management)

Author:

Evan Rosson

Maintainer:

Domen Kožar <domenNO@SPAMdev.si>

Maintainer:

Jan Dittberner <jan.dittbernerNO@SPAMgooglemail.com>

Source Code:

https://github.com/stackforge/sqlalchemy-migrate

Documentation:

https://sqlalchemy-migrate.readthedocs.org/

Issues:

https://bugs.launchpad.net/sqlalchemy-migrate

Generated:

May 29, 2024

License:

MIT

Version:

0.7.3.dev

Warning

Version 0.6 broke backward compatibility, please read changelog for more info.

Download and Development

Dialect support

Operation / Dialect

sqlite

postgres

mysql

oracle

firebird

mssql

DB2

ALTER TABLE RENAME TABLE

yes

yes

yes

yes

no

not supported

unknown

ALTER TABLE RENAME COLUMN

yes (workaround) [5]

yes

yes

yes

yes

not supported

unknown

ALTER TABLE ADD COLUMN

yes (workaround) [6]

yes

yes

yes

yes

not supported

unknown

ALTER TABLE DROP COLUMN

yes (workaround) [5]

yes

yes

yes

yes

not supported

unknown

ALTER TABLE ALTER COLUMN

yes (workaround) [5]

yes

yes

yes (with limitations) [7]

yes [8]

not supported

unknown

ALTER TABLE ADD CONSTRAINT

partial (workaround) [5]

yes

yes

yes

yes

not supported

unknown

ALTER TABLE DROP CONSTRAINT

partial (workaround) [5]

yes

yes

yes

yes

not supported

unknown

RENAME INDEX

no

yes

no

yes

yes

not supported

unknown

Tutorials

List of useful tutorials:

User guide

SQLAlchemy Migrate is split into two parts, database schema versioning (migrate.versioning) and database migration management (migrate.changeset). The versioning API is available as the migrate command.

API Documentation

Changelog

Indices and tables