From 4b143808510104a89a17bbdd0ae11aaf4416f5d3 Mon Sep 17 00:00:00 2001 From: Hankin Date: Tue, 25 Mar 2025 17:48:14 +0800 Subject: [PATCH] add question category --- 1742891265_create_question_category.up.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/1742891265_create_question_category.up.sql b/1742891265_create_question_category.up.sql index d0909fd..a726022 100644 --- a/1742891265_create_question_category.up.sql +++ b/1742891265_create_question_category.up.sql @@ -2,6 +2,7 @@ CREATE TABLE `ufutx_question_category` ( `id` INT NOT NULL AUTO_INCREMENT , `name` VARCHAR(100) NOT NULL COMMENT "名称", `icon` VARCHAR(191) NOT NULL COMMENT "图标", + `sort` int default 0 COMMENT "排序 越小越靠前", `created_at` TIMESTAMP NULL DEFAULT NULL , `updated_at` TIMESTAMP NULL DEFAULT NULL , PRIMARY KEY (`id`)