改名
This commit is contained in:
@@ -43,8 +43,8 @@ class GiiCommand extends Command
|
|||||||
* @param InputInterface $input
|
* @param InputInterface $input
|
||||||
* @param OutputInterface $output
|
* @param OutputInterface $output
|
||||||
* @return array
|
* @return array
|
||||||
* @throws ComponentException
|
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function execute(InputInterface $input, OutputInterface $output): array
|
public function execute(InputInterface $input, OutputInterface $output): array
|
||||||
{
|
{
|
||||||
@@ -52,9 +52,9 @@ class GiiCommand extends Command
|
|||||||
$gii = Kiri::app()->get('gii');
|
$gii = Kiri::app()->get('gii');
|
||||||
|
|
||||||
$connections = Kiri::app()->get('db');
|
$connections = Kiri::app()->get('db');
|
||||||
if ($input->getArgument('databases')) {
|
// if ($input->getArgument('databases')) {
|
||||||
return $gii->run($connections->get($input->getArgument('databases')), $input);
|
// return $gii->run($connections->get($input->getArgument('databases')), $input);
|
||||||
}
|
// }
|
||||||
|
|
||||||
$array = [];
|
$array = [];
|
||||||
foreach (Config::get('databases') as $key => $connection) {
|
foreach (Config::get('databases') as $key => $connection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user