Add php files
This commit is contained in:
88
custom/metadata/accounts_tasksMetaData.php
Executable file
88
custom/metadata/accounts_tasksMetaData.php
Executable file
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["accounts_tasks"] = array (
|
||||
'true_relationship_type' => 'one-to-many',
|
||||
'from_studio' => true,
|
||||
'relationships' =>
|
||||
array (
|
||||
'accounts_tasks' =>
|
||||
array (
|
||||
'lhs_module' => 'Accounts',
|
||||
'lhs_table' => 'accounts',
|
||||
'lhs_key' => 'id',
|
||||
'rhs_module' => 'Tasks',
|
||||
'rhs_table' => 'tasks',
|
||||
'rhs_key' => 'id',
|
||||
'relationship_type' => 'many-to-many',
|
||||
'join_table' => 'accounts_tasks_c',
|
||||
'join_key_lhs' => 'accounts_t0769ccounts_ida',
|
||||
'join_key_rhs' => 'accounts_tabdckstasks_idb',
|
||||
),
|
||||
),
|
||||
'table' => 'accounts_tasks_c',
|
||||
'fields' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'id',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'type' => 'datetime',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'deleted',
|
||||
'type' => 'bool',
|
||||
'len' => '1',
|
||||
'default' => '0',
|
||||
'required' => true,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'name' => 'accounts_t0769ccounts_ida',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'name' => 'accounts_tabdckstasks_idb',
|
||||
'type' => 'varchar',
|
||||
'len' => 36,
|
||||
),
|
||||
),
|
||||
'indices' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'accounts_tasksspk',
|
||||
'type' => 'primary',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'id',
|
||||
),
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'name' => 'accounts_tasks_ida1',
|
||||
'type' => 'index',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_t0769ccounts_ida',
|
||||
),
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'name' => 'accounts_tasks_alt',
|
||||
'type' => 'alternate_key',
|
||||
'fields' =>
|
||||
array (
|
||||
0 => 'accounts_tabdckstasks_idb',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user