From 39d3b28db5157607d0aaeb7f3085a8c68113863a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=96=B7=E5=9A=8F=E6=98=AF=E6=80=9D?= =?UTF-8?q?=E5=BF=B5?= <1035936946@qq.com> Date: Thu, 18 Jun 2026 04:08:32 +0000 Subject: [PATCH] =?UTF-8?q?fix(db):=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E5=AF=BC=E5=85=A5=E6=9C=8D=E5=8A=A1=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20-=20=E5=B0=86=20installDatabaseTables=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E4=B8=AD=E7=9A=84=20sqlFilePath=20=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=BB=8E=20string=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20=3Fstring=20-=20=E5=85=81=E8=AE=B8=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=20null=20=E5=80=BC=E4=BD=9C=E4=B8=BA=20sqlFilePath=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=20-=20=E4=BF=9D=E6=8C=81=E4=B8=8E=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=86=85=E9=83=A8=E9=80=BB=E8=BE=91=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E8=87=B4=E6=80=A7=EF=BC=8C=E5=85=B6=E4=B8=AD=E5=B7=B2=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20null=20=E5=80=BC=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 一个喷嚏是思念 <1035936946@qq.com> --- core/db/DataImporterService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/db/DataImporterService.php b/core/db/DataImporterService.php index 6256253..8d4b7f8 100644 --- a/core/db/DataImporterService.php +++ b/core/db/DataImporterService.php @@ -248,7 +248,7 @@ class DataImporterService * * @throws \Exception */ - public function installDatabaseTables(\PDO $pdo, array $tablesToInstall, string $database, bool $overwrite = false, string $tablePrefix = '', string $sqlFilePath = null): void + public function installDatabaseTables(\PDO $pdo, array $tablesToInstall, string $database, bool $overwrite = false, string $tablePrefix = '', ?string $sqlFilePath = null): void { // 设置默认SQL文件路径 if ($sqlFilePath === null) { -- Gitee