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.
This commit is contained in:
FusionPBX 2022-01-05 12:13:37 -07:00 committed by GitHub
parent ab0e4faa94
commit 9f0b304a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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";