This commit is contained in:
2021-02-22 11:56:36 +08:00
parent 602d345d36
commit abb4b45b36
2 changed files with 3 additions and 8 deletions
+2 -2
View File
@@ -131,8 +131,8 @@ class Gii
private function makeByDatabases($make, $input): array
{
$redis = Snowflake::app()->getRedis();
if (!empty($input->get('table'))) {
$this->tableName = $input->get('table');
if (!empty($input->get('name'))) {
$this->tableName = $input->get('name');
$redis->del('column:' . $this->tableName);
}
return match ($make) {