Replace data type timestamp with timestamptz

This commit is contained in:
markjcrane
2021-05-05 20:46:53 -06:00
parent b9b8bed853
commit 014cbd1cd0
7 changed files with 114 additions and 101 deletions
+6 -3
View File
@@ -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";