From f6f611667fd51b0d3f21b6a8e05afdb185acdaab Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 11 Aug 2021 16:41:33 -0400 Subject: [PATCH] Updated Database Schema to include Client Contact, Client Location, Client Asset, Client Vendor Reference Links inside the ticket, this will be optional but useful information in the ticket --- db.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db.sql b/db.sql index 40f7d703..1e931873 100644 --- a/db.sql +++ b/db.sql @@ -877,6 +877,9 @@ CREATE TABLE `tickets` ( `ticket_closed_by` int(11) DEFAULT NULL, `vendor_id` int(11) DEFAULT NULL, `client_id` int(11) DEFAULT NULL, + `contact_id` int(11) DEFAULT NULL, + `location_id` int(11) DEFAULT NULL, + `asset_id` int(11) DEFAULT NULL, `company_id` int(11) NOT NULL, PRIMARY KEY (`ticket_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; @@ -1007,4 +1010,4 @@ CREATE TABLE `vendors` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-08-10 20:10:46 +-- Dump completed on 2021-08-11 16:39:45