Remove unnecessary and really never-used tableSufix property.
This commit is contained in:
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user