This commit is contained in:
Yuri Kuznetsov
2025-07-24 10:38:01 +03:00
parent 6e1786d000
commit 774143c5e2
2 changed files with 12 additions and 2 deletions
@@ -85,8 +85,8 @@ class Converter
FieldParam::AUTOINCREMENT => AttributeParam::AUTOINCREMENT,
'entity' => 'entity',
FieldParam::NOT_STORABLE => AttributeParam::NOT_STORABLE,
'link' => AttributeParam::RELATION,
'field' => AttributeParam::FOREIGN,
FieldParam::LINK => AttributeParam::RELATION,
FieldParam::FIELD => AttributeParam::FOREIGN,
'unique' => 'unique',
'index' => 'index',
FieldParam::DEFAULT => AttributeParam::DEFAULT,
@@ -93,4 +93,14 @@ class FieldParam
* Dependee attributes.
*/
public const DEPENDEE_ATTRIBUTE_LIST = 'dependeeAttributeList';
/**
* Foreign link.
*/
public const LINK = 'link';
/**
* Foreign field.
*/
public const FIELD = 'field';
}