Remove deprecated

Reason for this to device_enabled_date. 
Restoring backup for a domain has this field on an older system.
If the field doesn't exist it breaks the restore.
This commit is contained in:
FusionPBX
2025-10-30 13:06:07 -06:00
committed by GitHub
parent e9d6bf7a1c
commit 79c359d0bc

View File

@@ -489,8 +489,7 @@
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamptz";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "date";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "timestamp";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "deprecated";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_template";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_template";
@@ -528,7 +527,7 @@
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_time_zone";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_time_zone";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "deprecated";
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_description";