|
@@ -74,6 +74,53 @@
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
|
+ //schema details
|
|
|
+ $y = 1; //table array index
|
|
|
+ $z = 0; //field array index
|
|
|
+ $apps[$x]['db'][$y]['table'] = "v_emails";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = "email_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'] = "call_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_xml_cdr";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "uuid";
|
|
|
+ $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";
|
|
|
+ $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";
|
|
|
+ $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']['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'] = "type";
|
|
|
+ $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'] = "status";
|
|
|
+ $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'] = "email";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
+
|
|
|
/*
|
|
|
$y = 0; //table array index
|
|
|
$z = 0; //field array index
|