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'],