Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -119,10 +119,8 @@ class Gii
|
|||||||
*/
|
*/
|
||||||
private function makeByDatabases($make, InputInterface $input): array
|
private function makeByDatabases($make, InputInterface $input): array
|
||||||
{
|
{
|
||||||
$redis = Kiri::getDi()->get(Redis::class);
|
|
||||||
if ($input->hasOption('name')) {
|
if ($input->hasOption('name')) {
|
||||||
$this->tableName = $input->getOption('name');
|
$this->tableName = $input->getOption('name');
|
||||||
$redis->del('column:' . $this->tableName);
|
|
||||||
}
|
}
|
||||||
return match ($make) {
|
return match ($make) {
|
||||||
'controller' => $this->getTable(1, 0),
|
'controller' => $this->getTable(1, 0),
|
||||||
|
|||||||
Reference in New Issue
Block a user