1 Star 0 Fork 0

凡星 / xiaowei

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
phinx.php 837 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
凡星 提交于 2020-12-21 17:37 . 上传代码
<?php
$config = require "config/database.php";
$config = $config['connections']['mysql'];
return
[
'paths' => [
'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds'
],
'environments' => [
'default_migration_table' => $config['prefix'].'phinxlog',
'default_environment' => 'development',
'development' => [
'adapter' => $config['type'],
'host' => $config['hostname'],
'name' => $config['database'],
'user' => $config['username'],
'pass' => $config['password'],
'port' => $config['hostport'],
'charset' => $config['charset']
]
],
'version_order' => 'creation'
];
PHP
1
https://gitee.com/bctos_cn/xiaowei.git
git@gitee.com:bctos_cn/xiaowei.git
bctos_cn
xiaowei
xiaowei
master

搜索帮助

14c37bed 8189591 565d56ea 8189591