added 'notnull=>false' for foreignType

This commit is contained in:
Taras Machyshyn
2014-01-17 11:36:36 +02:00
parent de4cb4ede3
commit c30e30427e
@@ -16,7 +16,8 @@ class LinkParent extends \Espo\Core\Utils\Database\Orm\Base
),
$field['name'].'Type' => array(
'type' => 'foreignType',
'index' => $field['name'],
'notnull' => false,
'index' => $field['name'],
),
$field['name'].'Name' => array(
'type' => 'varchar',