diff --git a/app/voicemails/app_config.php b/app/voicemails/app_config.php index 4aaf9f54a6..5cc3274b79 100644 --- a/app/voicemails/app_config.php +++ b/app/voicemails/app_config.php @@ -159,4 +159,31 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Voicemail message priority."; $z++; + + $y = 2; //table array index + $z = 0; //field array index + $apps[$x]['db'][$y]['table'] = "v_voicemail_destinations"; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_destination_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; + $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary"; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; + $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_voicemails"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "voicemail_uuid"; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_uuid_copy"; + $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; + $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_voicemails"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "voicemail_uuid"; + $z++; + ?> \ No newline at end of file