change instance

This commit is contained in:
Taras Machyshyn
2013-11-01 13:49:54 +02:00
commit 417576fd5e
2373 changed files with 284713 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+51
View File
@@ -0,0 +1,51 @@
<?php
return array (
'Espo\\Entities\\Bug' =>
array (
'type' => 'entity',
'manyToOne' =>
array (
'reporter' =>
array (
'inversedBy' => 'reportedBugs',
'targetEntity' => 'Espo\\Entities\\User',
),
'engineer' =>
array (
'inversedBy' => 'assignedBugs',
'targetEntity' => 'Espo\\Entities\\User',
),
),
'fields' =>
array (
'status' =>
array (
'type' => 'string',
),
'description' =>
array (
'type' => 'text',
),
'created' =>
array (
'type' => 'datetime',
),
),
'repositoryClass' => 'BugRepository',
'table' => 'bugs',
'id' =>
array (
'id' =>
array (
'type' => 'string',
'generator' =>
array (
'strategy' => 'UUID',
),
),
),
),
);
?>
+41
View File
@@ -0,0 +1,41 @@
<?php
return array (
'Espo\\Entities\\User' =>
array (
'table' => 'users',
'type' => 'entity',
'id' =>
array (
'id' =>
array (
'type' => 'string',
'generator' =>
array (
'strategy' => 'UUID',
),
),
),
'fields' =>
array (
'username' =>
array (
'type' => 'string(30)',
),
'password' =>
array (
'type' => 'string(255)',
),
'isAdmin' =>
array (
'type' => 'boolean',
'options' =>
array (
'default' => 0,
),
),
),
),
);
?>
@@ -0,0 +1,15 @@
<?php
return array (
'Modules\\Crm\\Entities\\Contact' =>
array (
'module' => 'Test',
'var1' =>
array (
'subvar1' => 'NEWsubval1',
'subvar55' => 'subval55',
),
),
);
?>
@@ -0,0 +1,29 @@
<?php
return array (
'Modules\\Crm\\Entities\\Product' =>
array (
'table' => 'products',
'type' => 'entity',
'id' =>
array (
'id' =>
array (
'type' => 'string',
'generator' =>
array (
'strategy' => 'UUID',
),
),
),
'fields' =>
array (
'name' =>
array (
'type' => 'string',
),
),
),
);
?>