1 Star 0 Fork 663

BugZero/course-tencent-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phinx.php 855 Bytes
一键复制 编辑 原始数据 按行查看 历史
koogua 提交于 2021-06-13 15:49 . 1.源文件增加版权信息
<?php
/**
* @copyright Copyright (c) 2021 深圳市酷瓜软件有限公司
* @license https://opensource.org/licenses/GPL-2.0
* @link https://www.koogua.com
*/
$config = require __DIR__ . '/config/config.php';
return [
'version_order' => 'creation',
'paths' => [
'migrations' => 'db/migrations',
'seeds' => 'db/seeds',
],
'environments' => [
'default_migration_table' => 'kg_migration',
'default_environment' => 'production',
'production' => [
'adapter' => 'mysql',
'host' => $config['db']['host'],
'port' => $config['db']['port'],
'name' => $config['db']['dbname'],
'user' => $config['db']['username'],
'pass' => $config['db']['password'],
'charset' => $config['db']['charset'],
],
],
];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/idotnetcn/course-tencent-cloud.git
git@gitee.com:idotnetcn/course-tencent-cloud.git
idotnetcn
course-tencent-cloud
course-tencent-cloud
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385