From 2096a42b0be764d2f7e49966ee419ee8f893eba3 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 30 Sep 2025 10:34:40 -0600 Subject: [PATCH] Add provider_uuid --- app/destinations/app_config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index 7c0cbaf8d0..313e53609e 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -271,6 +271,14 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups"; $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid"; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "provider_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_providers"; + //$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "provider_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";