mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-17 04:03:13 -04:00
34 lines
928 B
PHP
34 lines
928 B
PHP
<?php
|
|
|
|
require_once(__DIR__ . '/lib/config.php');
|
|
|
|
return [
|
|
'paths' => [
|
|
'migrations' => '%%PHINX_CONFIG_DIR%%/misc/phinx/migrations',
|
|
'seeds' => '%%PHINX_CONFIG_DIR%%/misc/phinx/seeds'
|
|
],
|
|
'environments' => [
|
|
'default_migration_table' => 'phinxlog',
|
|
'default_environment' => 'gazelle',
|
|
'gazelle' => [
|
|
'adapter' => 'mysql',
|
|
'host' => SQLHOST,
|
|
'port' => SQLPORT,
|
|
'name' => SQLDB,
|
|
'user' => SQL_PHINX_USER,
|
|
'pass' => SQL_PHINX_PASS,
|
|
'charset' => 'utf8mb4'
|
|
],
|
|
'pg' => [
|
|
'default_migration_table' => 'phinx.log',
|
|
'adapter' => 'pgsql',
|
|
'host' => GZPG_HOST,
|
|
'port' => GZPG_PORT,
|
|
'name' => GZPG_DB,
|
|
'user' => GZPG_USER,
|
|
'pass' => GZPG_PASSWORD,
|
|
],
|
|
],
|
|
'version_order' => 'creation'
|
|
];
|