Postgresql Migrations
A Postgresql Extension for Database Migrations. Up, Down and all around.
First, clone the git.
git clone git@github.com:drewc/postgresql-migrations.git
It could now be simply copied over to SHAREDIR/extension
, but
really, should be built. So, make sure the libs are installed in
order to `make` is so.
sudo apt-get install libpq-dev postgresql-server-dev-all
Change to the source directory and `make install`.
sudo make install
Now the objects must be loaded into the database.
CREATE EXTENSION migration;