CREATE DATABASE szchkt;
CREATE DATABASE szchkt_test;
In each database execute:
CREATE TABLE schema_migrations
(
version text NOT NULL,
CONSTRAINT schema_migrations_version PRIMARY KEY (version)
)
WITH (
OIDS=FALSE
);
- create the test database (instructions above)
- create a
test/database_config.php
file (sample available in the same folder) php test/migrate.php
php test/load_fixtures.php
phpunit