diff --git a/app/call_recordings/app_config.php b/app/call_recordings/app_config.php index d1a6cc3f28..a5ecfcf706 100644 --- a/app/call_recordings/app_config.php +++ b/app/call_recordings/app_config.php @@ -1,87 +1,87 @@ - + diff --git a/app/contacts/app_config.php b/app/contacts/app_config.php index dd52e141bd..be602c3f1e 100644 --- a/app/contacts/app_config.php +++ b/app/contacts/app_config.php @@ -855,11 +855,15 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_start"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = "Start"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_stop"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = "Stop"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "time_description"; @@ -925,7 +929,6 @@ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_users'; $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'user_uuid'; - //default settings $y=0; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "38a67445-577d-483d-a176-09549cfdaa69"; diff --git a/app/database_transactions/app_config.php b/app/database_transactions/app_config.php index 68680d5053..cc22ff6bed 100644 --- a/app/database_transactions/app_config.php +++ b/app/database_transactions/app_config.php @@ -102,7 +102,9 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Type: add, update, delete, select"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "transaction_date"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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]['search'] = 'true'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Transaction date."; $z++; diff --git a/app/devices/app_config.php b/app/devices/app_config.php index a8cd2fe452..22c3549470 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -410,7 +410,9 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "device_enabled_date"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_template"; @@ -459,7 +461,9 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "device_provisioned_date"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "device_provisioned_method"; diff --git a/app/email_logs/app_config.php b/app/email_logs/app_config.php index 686483749d..0c05e7b202 100644 --- a/app/email_logs/app_config.php +++ b/app/email_logs/app_config.php @@ -89,7 +89,7 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "sent_date"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = ""; diff --git a/app/fax/app_config.php b/app/fax/app_config.php index 5df9f1f9fa..e7c7ee286e 100644 --- a/app/fax/app_config.php +++ b/app/fax/app_config.php @@ -626,7 +626,7 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_date"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = ""; @@ -734,7 +734,7 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_date"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = ""; @@ -764,11 +764,15 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "FAX server primary key"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "task_next_time"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "task_lock_time"; - $apps[$x]['db'][$y]['fields'][$z]['type'] = "timestamp"; + $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'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "task_fax_file"; diff --git a/app/xml_cdr/app_config.php b/app/xml_cdr/app_config.php index 3cd481481d..dc51e1ab47 100644 --- a/app/xml_cdr/app_config.php +++ b/app/xml_cdr/app_config.php @@ -442,13 +442,13 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "start_stamp"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "answer_stamp"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = ""; @@ -466,7 +466,7 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "end_stamp"; - $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "timestamp"; + $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'] = "";