PgI Migration Directories

Build Status

In the past it was a standalone library for applying db migrations using PgI. Now it is a connection adapter for Pg Migration Directories.

Requirements (environment)

How to use

use IKTO\PgI;
use IKTO\PgiMigrationDirectories\Adapter\PgiConnectionAdapter;

// Connecting to the database.
$dbh = PgI::connect('host=127.0.0.1 port=5432 dbname=pgi_test', 'postgres', 'postgres');
$connection_adapter = new PgiConnectionAdapter($dbh);
// ... and the pass connection adapter to managed db object