From f6bb234ab90a05b8bd1f28d4121bb3b1d3e49d90 Mon Sep 17 00:00:00 2001 From: buke <1312023945@qq.com> Date: Mon, 12 Aug 2024 16:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=AD=94=E6=A1=88=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1723449768_create_table_question.up.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 1723449768_create_table_question.up.sql diff --git a/1723449768_create_table_question.up.sql b/1723449768_create_table_question.up.sql new file mode 100644 index 0000000..3cad6ca --- /dev/null +++ b/1723449768_create_table_question.up.sql @@ -0,0 +1,10 @@ +CREATE TABLE `ufutx_question` +( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `title` varchar(255) DEFAULT NULL COMMENT '问题', + `content` text COMMENT '答案', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `title` (`title`(191)) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='问题解答表'; \ No newline at end of file