Simple tool to evolve PostgreSQL schema easily.
PostgreSQL migrations made easy
PGmigrate is a database migration tool developed by Yandex.
PGmigrate has the following key-features:
ROLLBACK
will bring you in consistent state)pip install yandex-pgmigrate
Tests require running PostgreSQL instance with superuser (to create/drop dbs). You could setup this yourself and use tox to start tests:
tox
Second option is to use docker and make:
make test
Complete manual is here.
Distributed under the PostgreSQL license. See LICENSE for more information.