0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-21 15:37:57 +00:00
salesagility_SuiteCRM/metadata/fp_events_contactsMetaData.php
2018-07-19 11:23:34 +01:00

100 lines
2.0 KiB
PHP

<?php
// created: 2013-03-22 16:34:19
$dictionary["fp_events_contacts"] = array(
'true_relationship_type' => 'many-to-many',
'relationships' =>
array(
'fp_events_contacts' =>
array(
'lhs_module' => 'FP_events',
'lhs_table' => 'fp_events',
'lhs_key' => 'id',
'rhs_module' => 'Contacts',
'rhs_table' => 'contacts',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'fp_events_contacts_c',
'join_key_lhs' => 'fp_events_contactsfp_events_ida',
'join_key_rhs' => 'fp_events_contactscontacts_idb',
),
),
'table' => 'fp_events_contacts_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' => 'fp_events_contactsfp_events_ida',
'type' => 'varchar',
'len' => 36,
),
4 =>
array(
'name' => 'fp_events_contactscontacts_idb',
'type' => 'varchar',
'len' => 36,
),
5 =>
array(
'name' => 'invite_status',
'type' => 'varchar',
'len'=>'25',
'default'=>'Not Invited',
),
6 =>
array(
'name' => 'accept_status',
'type' => 'varchar',
'len'=>'25',
'default'=>'No Response',
),
7 =>
array(
'name' => 'email_responded',
'type' => 'int',
'len' => '2',
'default' => '0',
),
),
'indices' =>
array(
0 =>
array(
'name' => 'fp_events_contactsspk',
'type' => 'primary',
'fields' =>
array(
0 => 'id',
),
),
1 =>
array(
'name' => 'fp_events_contacts_alt',
'type' => 'alternate_key',
'fields' =>
array(
0 => 'fp_events_contactsfp_events_ida',
1 => 'fp_events_contactscontacts_idb',
),
),
),
);