mirror of
https://github.com/danog/AsyncOrm.git
synced 2024-11-26 20:34:55 +01:00
Finalize
This commit is contained in:
parent
a46f07079a
commit
4578655304
@ -48,6 +48,10 @@ final class OrmMappedArray
|
||||
* @var int<1, max>|null
|
||||
*/
|
||||
public readonly ?int $optimizeIfWastedGtMb = null,
|
||||
/**
|
||||
* Table name postfix, if null defaults to the property name.
|
||||
*/
|
||||
public readonly ?string $tablePostfix = null
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ abstract class DbObject
|
||||
}
|
||||
|
||||
$config = new FieldConfig(
|
||||
$config->table.'_'.$property->getName(),
|
||||
$config->table.'_'.($attr->tablePostfix ?? $property->getName()),
|
||||
$settings,
|
||||
$attr->keyType,
|
||||
$attr->valueType,
|
||||
|
Loading…
Reference in New Issue
Block a user