1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
DROP TABLE IF EXISTS `tickets`;
CREATE TABLE IF NOT EXISTS `tickets` (
`id` varchar(18) COLLATE utf8_bin NOT NULL,
`Product_Name` varchar(25) COLLATE utf8_bin DEFAULT NULL,
`Assigned_Group` varchar(30) COLLATE utf8_bin DEFAULT NULL,
`Submitted_Date` datetime NOT NULL,
`Last_Resolved_Date` datetime NOT NULL,
`Summary` varchar(200) COLLATE utf8_bin NOT NULL,
`Priority_Key` smallint(2) NOT NULL,
`Status_Key` smallint(3) NOT NULL,
`Region` varchar(10) COLLATE utf8_bin DEFAULT NULL,
`Country` varchar(10) COLLATE utf8_bin DEFAULT NULL,
`Submitter_SESA` int(6) NOT NULL,
`Customer_SESA` int(6) NOT NULL,
`Organization` varchar(30) COLLATE utf8_bin DEFAULT NULL,
`Incident_Type` varchar(20) COLLATE utf8_bin DEFAULT NULL,
`Reported_Source` varchar(20) COLLATE utf8_bin DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Prioritytype` (`Priority_Key`),
KEY `Statustype` (`Status_Key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
Partager