优化代码生成

This commit is contained in:
JaguarJack
2020-04-29 09:02:20 +08:00
parent 7f72784bfb
commit 64c03bdfd3
5 changed files with 48 additions and 31 deletions

View File

@@ -175,17 +175,4 @@ class SQL
$this->index .= "spatial index spatial_$field($field),". PHP_EOL;
}
}
/**
*
* @time 2020年04月28日
* @param $table
* @return bool
*/
protected function hasTableExists($table)
{
$tables = Db::getConnection()->getTables();
return in_array($table, $tables);
}
}