update:更新代码生成

This commit is contained in:
JaguarJack
2020-09-17 21:15:24 +08:00
parent 8b65690450
commit 4216a48907
2 changed files with 9 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ abstract class Factory
*/
public function hasTableExists($table)
{
$tables = Db::getConnection()->getTables();
$tables = Db::connect()->getTables();
return in_array($table, $tables) ? $table : false;
}