|
@@ -67,11 +67,11 @@
|
|
$apps[$x]['permissions'][4]['name'] = 'ticket_assign_queue';
|
|
$apps[$x]['permissions'][4]['name'] = 'ticket_assign_queue';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
|
-
|
|
|
|
|
|
+
|
|
$apps[$x]['permissions'][5]['name'] = 'ticket_config';
|
|
$apps[$x]['permissions'][5]['name'] = 'ticket_config';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'superadmin';
|
|
-
|
|
|
|
|
|
+
|
|
$apps[$x]['permissions'][6]['name'] = 'ticket_queue_view';
|
|
$apps[$x]['permissions'][6]['name'] = 'ticket_queue_view';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'superadmin';
|
|
@@ -87,145 +87,215 @@
|
|
$apps[$x]['permissions'][9]['name'] = 'ticket_queue_delete';
|
|
$apps[$x]['permissions'][9]['name'] = 'ticket_queue_delete';
|
|
$apps[$x]['permissions'][9]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][9]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][9]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][9]['groups'][] = 'superadmin';
|
|
-
|
|
|
|
- // CREATE TABLE v_ticket_notes
|
|
|
|
- $apps[$x]['db'][0]['table'] = 'v_ticket_notes';
|
|
|
|
- $apps[$x]['db'][0]['fields'][0]['name'] = 'note_id';
|
|
|
|
- $apps[$x]['db'][0]['fields'][0]['type']['pgsql'] = 'serial';
|
|
|
|
- $apps[$x]['db'][0]['fields'][0]['type']['sqlite'] = 'integer PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][0]['fields'][0]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][0]['fields'][0]['description'] = '';
|
|
|
|
- $apps[$x]['db'][0]['fields'][1]['name'] = 'ticket_id';
|
|
|
|
- $apps[$x]['db'][0]['fields'][1]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][0]['fields'][1]['description'] = '';
|
|
|
|
- $apps[$x]['db'][0]['fields'][2]['name'] = 'create_stamp';
|
|
|
|
- $apps[$x]['db'][0]['fields'][2]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
- $apps[$x]['db'][0]['fields'][2]['type']['sqlite'] = 'datetime';
|
|
|
|
- $apps[$x]['db'][0]['fields'][2]['type']['mysql'] = 'timestamp';
|
|
|
|
- $apps[$x]['db'][0]['fields'][2]['description'] = '';
|
|
|
|
- $apps[$x]['db'][0]['fields'][3]['name'] = 'create_user_id';
|
|
|
|
- $apps[$x]['db'][0]['fields'][3]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][0]['fields'][3]['description'] = '';
|
|
|
|
- $apps[$x]['db'][0]['fields'][4]['name'] = 'ticket_note';
|
|
|
|
- $apps[$x]['db'][0]['fields'][4]['type'] = 'text';
|
|
|
|
- $apps[$x]['db'][0]['fields'][4]['description'] = '';
|
|
|
|
- $apps[$x]['db'][0]['fields'][5]['name'] = 'file_pointer';
|
|
|
|
- $apps[$x]['db'][0]['fields'][5]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][0]['fields'][5]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][0]['fields'][5]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][0]['fields'][5]['description'] = '';
|
|
|
|
-
|
|
|
|
- // CREATE TABLE v_ticket_queue_members
|
|
|
|
- $apps[$x]['db'][1]['table'] = 'v_ticket_queue_members';
|
|
|
|
- $apps[$x]['db'][1]['fields'][0]['name'] = 'queue_member_id';
|
|
|
|
- $apps[$x]['db'][1]['fields'][0]['type']['pgsql'] = 'serial';
|
|
|
|
- $apps[$x]['db'][1]['fields'][0]['type']['sqlite'] = 'integer PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][1]['fields'][0]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][1]['fields'][0]['description'] = '';
|
|
|
|
- $apps[$x]['db'][1]['fields'][1]['name'] = 'queue_id';
|
|
|
|
- $apps[$x]['db'][1]['fields'][1]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][1]['fields'][1]['description'] = '';
|
|
|
|
- $apps[$x]['db'][1]['fields'][2]['name'] = 'user_id';
|
|
|
|
- $apps[$x]['db'][1]['fields'][2]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][1]['fields'][2]['description'] = '';
|
|
|
|
-
|
|
|
|
- // CREATE TABLE v_ticket_queues
|
|
|
|
- $apps[$x]['db'][2]['table'] = 'v_ticket_queues';
|
|
|
|
- $apps[$x]['db'][2]['fields'][0]['name'] = 'queue_id';
|
|
|
|
- $apps[$x]['db'][2]['fields'][0]['type']['pgsql'] = 'serial';
|
|
|
|
- $apps[$x]['db'][2]['fields'][0]['type']['sqlite'] = 'integer PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][2]['fields'][0]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][2]['fields'][0]['description'] = '';
|
|
|
|
- $apps[$x]['db'][2]['fields'][1]['name'] = 'queue_name';
|
|
|
|
- $apps[$x]['db'][2]['fields'][1]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][2]['fields'][1]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][2]['fields'][1]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][2]['fields'][1]['description'] = '';
|
|
|
|
- $apps[$x]['db'][2]['fields'][2]['name'] = 'queue_email';
|
|
|
|
- $apps[$x]['db'][2]['fields'][2]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][2]['fields'][2]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][2]['fields'][2]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][2]['fields'][2]['description'] = '';
|
|
|
|
- $apps[$x]['db'][2]['fields'][3]['name'] = 'v_id';
|
|
|
|
- $apps[$x]['db'][2]['fields'][3]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][2]['fields'][3]['description'] = '';
|
|
|
|
-
|
|
|
|
- // CREATE TABLE v_ticket_statuses
|
|
|
|
- $apps[$x]['db'][3]['table'] = 'v_ticket_statuses';
|
|
|
|
- $apps[$x]['db'][3]['fields'][0]['name'] = 'status_id';
|
|
|
|
- $apps[$x]['db'][3]['fields'][0]['type']['pgsql'] = 'serial';
|
|
|
|
- $apps[$x]['db'][3]['fields'][0]['type']['sqlite'] = 'integer PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][3]['fields'][0]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][3]['fields'][0]['description'] = '';
|
|
|
|
- $apps[$x]['db'][3]['fields'][1]['name'] = 'status_name';
|
|
|
|
- $apps[$x]['db'][3]['fields'][1]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][3]['fields'][1]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][3]['fields'][1]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][3]['fields'][1]['description'] = '';
|
|
|
|
- $apps[$x]['db'][3]['fields'][2]['name'] = 'v_id';
|
|
|
|
- $apps[$x]['db'][3]['fields'][2]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][3]['fields'][2]['description'] = '';
|
|
|
|
-
|
|
|
|
- // CREATE TABLE v_tickets
|
|
|
|
- $apps[$x]['db'][4]['table'] = 'v_tickets';
|
|
|
|
- $apps[$x]['db'][4]['fields'][0]['name'] = 'ticket_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][0]['type']['pgsql'] = 'serial';
|
|
|
|
- $apps[$x]['db'][4]['fields'][0]['type']['sqlite'] = 'integer PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][4]['fields'][0]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY';
|
|
|
|
- $apps[$x]['db'][4]['fields'][0]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][1]['name'] = 'queue_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][1]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][1]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][2]['name'] = 'v_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][2]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][2]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][3]['name'] = 'user_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][3]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][3]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][4]['name'] = 'customer_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][4]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][4]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][5]['name'] = 'subject';
|
|
|
|
- $apps[$x]['db'][4]['fields'][5]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][4]['fields'][5]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][5]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][5]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][6]['name'] = 'create_stamp';
|
|
|
|
- $apps[$x]['db'][4]['fields'][6]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
- $apps[$x]['db'][4]['fields'][6]['type']['sqlite'] = 'datetime';
|
|
|
|
- $apps[$x]['db'][4]['fields'][6]['type']['mysql'] = 'timestamp';
|
|
|
|
- $apps[$x]['db'][4]['fields'][6]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][7]['name'] = 'create_user_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][7]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][7]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][8]['name'] = 'ticket_status';
|
|
|
|
- $apps[$x]['db'][4]['fields'][8]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][8]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][9]['name'] = 'last_update_stamp';
|
|
|
|
- $apps[$x]['db'][4]['fields'][9]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
- $apps[$x]['db'][4]['fields'][9]['type']['sqlite'] = 'datetime';
|
|
|
|
- $apps[$x]['db'][4]['fields'][9]['type']['mysql'] = 'timestamp';
|
|
|
|
- $apps[$x]['db'][4]['fields'][9]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][10]['name'] = 'last_update_user_id';
|
|
|
|
- $apps[$x]['db'][4]['fields'][10]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][10]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][11]['name'] = 'ticket_uuid';
|
|
|
|
- $apps[$x]['db'][4]['fields'][11]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][4]['fields'][11]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][11]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][11]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][12]['name'] = 'ticket_number';
|
|
|
|
- $apps[$x]['db'][4]['fields'][12]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][4]['fields'][12]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][12]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][12]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][13]['name'] = 'customer_ticket_number';
|
|
|
|
- $apps[$x]['db'][4]['fields'][13]['type']['pgsql'] = 'character varying';
|
|
|
|
- $apps[$x]['db'][4]['fields'][13]['type']['sqlite'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][13]['type']['mysql'] = 'text';
|
|
|
|
- $apps[$x]['db'][4]['fields'][13]['description'] = '';
|
|
|
|
- $apps[$x]['db'][4]['fields'][14]['name'] = 'ticket_owner';
|
|
|
|
- $apps[$x]['db'][4]['fields'][14]['type'] = 'integer';
|
|
|
|
- $apps[$x]['db'][4]['fields'][14]['description'] = '';
|
|
|
|
-
|
|
|
|
-?>
|
|
|
|
|
|
+
|
|
|
|
+ //schema details
|
|
|
|
+ $y = 0; //table array index
|
|
|
|
+ $z = 0; //field array index
|
|
|
|
+ $apps[$x]['db'][$y]['table'] = 'v_ticket_notes';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'note_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'create_stamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'datetime';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'create_user_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_note';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'file_pointer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+
|
|
|
|
+ // CREATE TABLE v_ticket_queue_members
|
|
|
|
+ $y = 1; //table array index
|
|
|
|
+ $z = 0; //field array index
|
|
|
|
+ $apps[$x]['db'][$y]['table'] = 'v_ticket_queue_members';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_member_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+
|
|
|
|
+ // CREATE TABLE v_ticket_queues
|
|
|
|
+ $y = 2; //table array index
|
|
|
|
+ $z = 0; //field array index
|
|
|
|
+ $apps[$x]['db'][$y]['table'] = 'v_ticket_queues';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_name';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_email';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $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]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
|
+
|
|
|
|
+ // CREATE TABLE v_ticket_statuses
|
|
|
|
+ $y = 3; //table array index
|
|
|
|
+ $z = 0; //field array index
|
|
|
|
+ $apps[$x]['db'][$y]['table'] = 'v_ticket_statuses';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'status_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'status_name';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $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]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
|
+ $z++;
|
|
|
|
+
|
|
|
|
+ // CREATE TABLE v_tickets
|
|
|
|
+ $y = 4; //table array index
|
|
|
|
+ $z = 0; //field array index
|
|
|
|
+ $apps[$x]['db'][$y]['table'] = 'v_tickets';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_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]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'queue_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]['description'] = '';
|
|
|
|
+ $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]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'customer_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'subject';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'create_stamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'datetime';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'create_user_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_status';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_update_stamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp with time zone';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'datetime';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_update_user_id';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_uuid';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_number';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'customer_ticket_number';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'character varying';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'text';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+ $z++;
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['name'] = 'ticket_owner';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'integer';
|
|
|
|
+ $apps[$x]['db'][$y]['fields'][$z]['description'] = '';
|
|
|
|
+
|
|
|
|
+?>
|