diff --git a/Base/Model.php b/Base/Model.php index 3bcf6ab..62b50b0 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -819,6 +819,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T throw new Exception('You need add static method `tableName` and return table name.'); } $table = trim($this->table, '{%}'); + var_dump($this->table, $table); if (!empty($tablePrefix) && !str_starts_with($table, $tablePrefix)) { $table = $tablePrefix . $table; }