-
Notifications
You must be signed in to change notification settings - Fork 1
/
phinx.php
26 lines (24 loc) · 908 Bytes
/
phinx.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
require_once dirname(__FILE__) . '/config.inc.php';
return
[
'paths' => [
'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
],
'environments' =>
[
'default_database' => 'production',
'default_migration_table' => 'meb_migrations',
'production' =>
[
'adapter' => 'mysql',
'host' => $_ENV['DATABASE_HOST_ADMIN'],
'name' => $_ENV['DATABASE_NAME_ADMIN'],
'user' => $_ENV['DATABASE_USERNAME_ADMIN'],
'pass' => $_ENV['DATABASE_PASSWORD_ADMIN'],
'port' => $_ENV['DATABASE_PORT_ADMIN'],
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
],
],
];