diff --git a/src/Libs/Model.php b/src/Libs/Model.php index 305bdd9..41c415d 100644 --- a/src/Libs/Model.php +++ b/src/Libs/Model.php @@ -28,7 +28,6 @@ class Model protected static array $ignoreSave = ['id']; protected static array $forceSave = []; protected static string $table; - protected static string $tableSufix = 's'; protected static array $queryVars = []; protected static array $querySelect = [ 'select' => ['*'], @@ -345,7 +344,7 @@ class Model return static::$table; } - return static::camelCaseToSnakeCase(static::className()) . static::$tableSufix; + return static::camelCaseToSnakeCase(static::className()) . 's'; } /**