Remove unnecessary and really never-used tableSufix property.

This commit is contained in:
kj
2025-09-07 15:25:48 -03:00
parent b0891885f9
commit 4dfdb52519

View File

@ -28,7 +28,6 @@ class Model
protected static array $ignoreSave = ['id']; protected static array $ignoreSave = ['id'];
protected static array $forceSave = []; protected static array $forceSave = [];
protected static string $table; protected static string $table;
protected static string $tableSufix = 's';
protected static array $queryVars = []; protected static array $queryVars = [];
protected static array $querySelect = [ protected static array $querySelect = [
'select' => ['*'], 'select' => ['*'],
@ -345,7 +344,7 @@ class Model
return static::$table; return static::$table;
} }
return static::camelCaseToSnakeCase(static::className()) . static::$tableSufix; return static::camelCaseToSnakeCase(static::className()) . 's';
} }
/** /**