mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 03:42:49 +08:00
增加初始化admin账号密码命令行;修改部分声明;增加表注释生成关联的功能;
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | 控制台配置
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
use app\common\command\admin\ResetPassword;
|
||||
|
||||
return [
|
||||
// 指令定义
|
||||
'commands' => [
|
||||
'curd' => 'app\common\command\Curd',
|
||||
'node' => 'app\common\command\Node',
|
||||
'OssStatic' => 'app\common\command\OssStatic',
|
||||
ResetPassword::class
|
||||
],
|
||||
];
|
||||
|
||||
@@ -24,7 +24,7 @@ return [
|
||||
// 服务器地址
|
||||
'hostname' => Env::get('database.hostname', 'host.docker.internal'),
|
||||
// 数据库名
|
||||
'database' => Env::get('database.database', 'easyadmin'),
|
||||
'database' => Env::get('database.database', 'ulthon'),
|
||||
// 用户名
|
||||
'username' => Env::get('database.username', 'root'),
|
||||
// 密码
|
||||
@@ -36,7 +36,7 @@ return [
|
||||
// 数据库编码默认采用utf8
|
||||
'charset' => Env::get('database.charset', 'utf8'),
|
||||
// 数据库表前缀
|
||||
'prefix' => Env::get('database.prefix', 'ea_'),
|
||||
'prefix' => Env::get('database.prefix', 'ul_'),
|
||||
|
||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||
'deploy' => 0,
|
||||
|
||||
Reference in New Issue
Block a user