Device profile settings (#2165)

* Update app_config.php

* Update device_profile_edit.php

* Update device_setting_delete.php

* Update provision.php
This commit is contained in:
konradSC
2016-11-23 12:28:59 -07:00
committed by FusionPBX
parent 2c7715dcfd
commit a7b76b7a84
4 changed files with 163 additions and 2 deletions
+9
View File
@@ -503,6 +503,15 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "device_profile_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_device_profiles";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "device_profile_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$y = 3; //table array index
$z = 0; //field array index