From 0278a1ff71cb310f8d22159ac048960b12411873 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Dec 2019 17:09:15 +0800 Subject: [PATCH] update --- install.sql | 4 ++-- update.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sql b/install.sql index 6ec190ad..bc5e3e05 100644 --- a/install.sql +++ b/install.sql @@ -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 \ No newline at end of file +-- 2019-12-13 09:09:07 \ No newline at end of file diff --git a/update.sql b/update.sql index bc9dd484..484b6971 100644 --- a/update.sql +++ b/update.sql @@ -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`; \ No newline at end of file +ADD `last_reply_user_id` int(11) NOT NULL AFTER `user_id`; \ No newline at end of file