22 lines
651 B
PHP
22 lines
651 B
PHP
|
<?php
|
||
|
# WINDOWS : vendor/bin/phinx.bat migrate -e local --configuration migration.php
|
||
|
# LINUX A TEST php vendor/bin/phinx migrate -e local --configuration migration.php
|
||
|
require 'config/settings.inc.php';
|
||
|
|
||
|
return array(
|
||
|
"paths" => array(
|
||
|
"migrations" => "migrations"
|
||
|
),
|
||
|
"environments" => array(
|
||
|
"default_migration_table" => "phinxlog",
|
||
|
"default_database" => "toutpratique",
|
||
|
"local" => array(
|
||
|
"adapter" => "mysql",
|
||
|
"host" => _DB_SERVER_,
|
||
|
"name" => _DB_NAME_,
|
||
|
"user" => _DB_USER_,
|
||
|
"pass" => _DB_PASSWD_,
|
||
|
"port" => 3306
|
||
|
)
|
||
|
)
|
||
|
);
|