diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 6da12c9e36..36345fe5ee 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -672,6 +672,116 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $y++; + $apps[$x]['db'][$y]['table']['name'] = 'v_device_profile_keys'; + $apps[$x]['db'][$y]['table']['parent'] = 'v_device_profiles'; + $z = 0; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_profile_key_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'] = 'primary'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_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_domains'; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid'; + $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'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_id'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key id.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_category'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key category.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_vendor'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key vendor.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_type'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key type.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_line'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key line.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_value'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key value.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_extension'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key extension.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_protected'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key protected.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_label'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key label.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_key_icon'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device key icon.'; + $z++; + + $y++; + $apps[$x]['db'][$y]['table']['name'] = 'v_device_profile_settings'; + $apps[$x]['db'][$y]['table']['parent'] = 'v_device_profiles'; + $z = 0; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_profile_setting_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'] = 'primary'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_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_domains'; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid'; + $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'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_setting_name'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the profile setting name.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_setting_value'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the profile setting value.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_setting_enabled'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the profile setting enabled.'; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'profile_setting_description'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the profile setting description.'; + $z++; + $y++; $apps[$x]['db'][$y]['table']['name'] = "v_device_vendors"; $apps[$x]['db'][$y]['table']['parent'] = ""; @@ -2958,4 +3068,5 @@ $vendors[$y]['uuid'] = "d07e0905-9788-4039-ba8e-ca1b50fbf643"; $vendors[$y]['name'] = "vtech"; $z=0; + ?>