think icon indicating copy to clipboard operation
think copied to clipboard

强烈建议:多数据库配置时增加公共参数!

Open hutaoseven opened this issue 5 years ago • 0 comments

我有多个数据库,除了数据库名字不一样以外,其他配置参数都一样。 配置多个数据库时,就需要把所有参数都重写一遍。 为什么就不能配置公共参数呢。

config/database.php

公共参数可以从上层读取

image

hutaoseven avatar May 07 '19 09:05 hutaoseven