From 3ca6cea6ad073754a5134685e54d5b75ece561a7 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Sat, 19 Apr 2025 17:15:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=A1=A8=E5=90=8D=E5=89=8D=E7=BC=80=20#77?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/Common/Repository/Options/Schemas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Common/Repository/Options/Schemas.php b/modules/Common/Repository/Options/Schemas.php index 8debc8b..ef45d7b 100644 --- a/modules/Common/Repository/Options/Schemas.php +++ b/modules/Common/Repository/Options/Schemas.php @@ -17,7 +17,7 @@ class Schemas implements OptionInterface $tablePrefix = $connection->getTablePrefix(); foreach (Schema::getTables($databaseName) as $table) { - $tableName = Str::of($table['name'])->remove($tablePrefix); + $tableName = Str::of($table['name'])->replaceStart($tablePrefix, ''); $options[] = [ 'label' => $tableName . "\t\t\t\t" . $table['comment'],