This commit is contained in:
root 2019-12-13 17:09:15 +08:00
parent ccdf9462cf
commit 0278a1ff71
2 changed files with 3 additions and 3 deletions

View File

@ -115,9 +115,9 @@ DROP TABLE IF EXISTS `v2_ticket`;
CREATE TABLE `v2_ticket` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`last_reply_user_id` int(11) NOT NULL,
`subject` varchar(255) NOT NULL,
`level` tinyint(1) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
PRIMARY KEY (`id`)
@ -170,4 +170,4 @@ CREATE TABLE `v2_user` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2019-12-13 08:54:25
-- 2019-12-13 09:09:07

View File

@ -49,4 +49,4 @@ CREATE TABLE `v2_ticket_message` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `v2_ticket`
ADD `status` tinyint(1) NOT NULL DEFAULT '0' AFTER `level`;
ADD `last_reply_user_id` int(11) NOT NULL AFTER `user_id`;