diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index 978f211848..4df7bf6a1e 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -130,6 +130,9 @@ $apps[$x]['permissions'][$y]['name'] = "destination_fax"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; + $apps[$x]['permissions'][$y]['name'] = "destination_user_uuid"; + $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; $apps[$x]['permissions'][$y]['name'] = "destination_emergency"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; @@ -225,6 +228,14 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "fax_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_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_users"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid"; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "destination_type"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "destination_name"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";