From ce159b2cbd9fbcc41f25bdc265f98a83281965ca Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 7 Sep 2014 00:44:47 +0000 Subject: [PATCH] Add fax date, epoch and primary key for the fax_logs table --- app/fax/app_config.php | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/app/fax/app_config.php b/app/fax/app_config.php index a860432775..e9622bce8c 100644 --- a/app/fax/app_config.php +++ b/app/fax/app_config.php @@ -273,13 +273,13 @@ $y = 2; //table array index $z = 0; //field array index $apps[$x]['db'][$y]['table'] = "v_fax_logs"; - //$apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_log_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"; - //$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - //$z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_log_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"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $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"; @@ -292,6 +292,7 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_name"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_success"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; @@ -362,5 +363,13 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_uri"; $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'] = "fax_date"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "date"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "fax_epoch"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; ?> \ No newline at end of file