From 9f0b304a4ff531ddbe4cd77aa5afe723474a4cc7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 5 Jan 2022 12:13:37 -0700 Subject: [PATCH] Deprecate v_device_keys.device_profile_uuid, and v_device_settings.device_profile_uuid. These fields were moved to their own table device profile keys and device profile settings tables so these fields are no longer used. --- app/devices/app_config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 475cbeaaf3..05b54c673b 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -637,7 +637,7 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_device_profiles"; $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "device_profile_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - + $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $y++; $apps[$x]['db'][$y]['table']['name'] = "v_device_keys"; $apps[$x]['db'][$y]['table']['parent'] = "v_devices"; @@ -672,6 +672,7 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_device_profiles"; $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "device_profile_uuid"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "device_key_id"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";