This commit is contained in:
2021-09-29 10:32:07 +08:00
parent e1963fafcd
commit b9ad4ef289
+1 -1
View File
@@ -122,7 +122,7 @@ class Gii
private function makeByDatabases($make, InputInterface $input): array
{
$redis = Kiri::getDi()->get(Redis::class);
if (!empty($input->getArgument('name'))) {
if ($input->hasArgument('name')) {
$this->tableName = $input->getArgument('name');
$redis->del('column:' . $this->tableName);
}