MySQL Create Table SQL
Table Structure: okayapi_box_support_ticket:/tablelist/okayapi_box_support_ticket.html
-- MySQL Table okayapi_box_support_ticket
-- From: OkayAPI.com
CREATE TABLE `okayapi_box_support_ticket` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`support_helpdesk_id` bigint(20) NULL COMMENT '',
`client_id` bigint(20) NULL COMMENT '',
`priority` int(11) NULL DEFAULT '100' COMMENT '',
`subject` varchar(255) NULL COMMENT '',
`status` varchar(30) NULL DEFAULT 'open' COMMENT 'open, closed, on_hold',
`rel_type` varchar(100) NULL COMMENT '',
`rel_id` bigint(20) NULL COMMENT '',
`rel_task` varchar(100) NULL COMMENT '',
`rel_new_value` text NULL COMMENT '',
`rel_status` varchar(100) NULL COMMENT '',
KEY `support_helpdesk_id` (`support_helpdesk_id`),
KEY `client_id` (`client_id`),
KEY `priority` (`priority`),
KEY `subject` (`subject`),
KEY `status` (`status`),
KEY `rel_type` (`rel_type`),
KEY `rel_id` (`rel_id`),
KEY `rel_task` (`rel_task`),
KEY `rel_new_value` (`rel_new_value`),
KEY `rel_status` (`rel_status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '主机销售-售后工单';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
support_helpdesk_id | bigint(20) | 是 | Normal Index | |||
client_id | bigint(20) | 是 | Normal Index | |||
priority | int(11) | 100 | 是 | 100 | ||
subject | varchar(255) | 是 | ||||
status | varchar(30) | open | 是 | open, closed, on_hold | open | |
rel_type | varchar(100) | 是 | ||||
rel_id | bigint(20) | 是 | ||||
rel_task | varchar(100) | 是 | ||||
rel_new_value | text | 是 | ||||
rel_status | varchar(100) | 是 |