From 485ecc57a8d327fcd8ee05ffd607ed96f3c29e90 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 12 Apr 2015 00:12:48 +0000 Subject: [PATCH] Add device_username, device_password and device_uuid_alternate. --- app/devices/app_config.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index 4ead87e1e0..9b897af684 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -202,6 +202,23 @@ $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_username"; + $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_password"; + $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_uuid_alternate"; + $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_devices"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "device_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $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";