Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 694 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 694 Bytes

PgSql Migration Directories

A connection adapter for Pg Migration Directories based on pgsql PHP extension.

Requirements (environment)

How to use

use IKTO\PgSqlMigrationDirectories\Adapter\PgSqlConnectionAdapter;

// Connecting to the database.
$dbh = pg_connect('host=127.0.0.1 port=5432 dbname=pgi_test user=postgres password=postgres', PGSQL_CONNECT_FORCE_NEW);
$connection_adapter = new PgSqlConnectionAdapter($dbh);
// ... and the pass connection adapter to managed db object