1 Star 0 Fork 269

Finersoft/jitamin

forked from jitamin/jitamin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phinx.php 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
Guan Shiliang 提交于 2017-02-17 17:36 . Fixed pgsql dirver configuration
<?php
/*
* This file is part of Jitamin.
*
* Copyright (C) Jitamin Team
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/*
|--------------------------------------------------------------------------
| Please DO NOT modify me.
|--------------------------------------------------------------------------
*/
$db = require __DIR__.'/config/config.php';
return [
'paths' => [
'migrations' => 'database/migrations',
'seeds' => 'database/seeds',
],
'environments' => [
'default_migration_table' => 'migrations',
'default_database' => $db['db_driver'],
'mysql' => [
'adapter' => 'mysql',
'host' => $db['db_connections']['mysql']['host'],
'name' => $db['db_connections']['mysql']['database'],
'user' => $db['db_connections']['mysql']['username'],
'pass' => $db['db_connections']['mysql']['password'],
'port' => $db['db_connections']['mysql']['port'],
'charset' => 'utf8',
],
'pgsql' => [
'adapter' => 'pgsql',
'host' => $db['db_connections']['pgsql']['host'],
'name' => $db['db_connections']['pgsql']['database'],
'user' => $db['db_connections']['pgsql']['username'],
'pass' => $db['db_connections']['pgsql']['password'],
'port' => $db['db_connections']['pgsql']['port'],
'charset' => 'utf8',
],
'sqlite' => [
'adapter' => 'sqlite',
'name' => $db['db_connections']['sqlite']['database'],
],
],
];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/finer/jitamin.git
git@gitee.com:finer/jitamin.git
finer
jitamin
jitamin
master

搜索帮助