Files
ops-Gazelle/phinx.php
Spine 2c97f96691 Streamline autoloading and tidy up how required PHP classes are pulled in.
Require files using __DIR__ instead of SERVER_ROOT
    Use `new Class` instead of `NEW Class`
    Class FEED => Feed
    Class VALIDATE => Validate
2020-03-01 12:03:04 +00:00

26 lines
623 B
PHP

<?php
require_once(__DIR__.'/classes/config.php');
return
[
'paths' => [
'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds'
],
'environments' => [
'default_migration_table' => 'phinxlog',
'default_database' => 'gazelle',
'gazelle' => [
'adapter' => 'mysql',
'host' => SQLHOST,
'name' => SQLDB,
'user' => SQL_PHINX_USER,
'pass' => SQL_PHINX_PASS,
'port' => SQLPORT,
'charset' => 'utf8'
]
],
'version_order' => 'creation'
];