update:更新代码生成
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user