From 1d20bf983246744e6b941ccdf67bc182a06cc8b1 Mon Sep 17 00:00:00 2001 From: maqinglin Date: Fri, 8 Sep 2023 11:03:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0sql=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest/sql/update.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest/sql/update.sql b/manifest/sql/update.sql index 8906f93..e2fd122 100644 --- a/manifest/sql/update.sql +++ b/manifest/sql/update.sql @@ -2,7 +2,7 @@ -- 2023-09-08 修改字典类型表 -- ---------------------------- ALTER TABLE `sagoo_iot`.`sys_dict_data` - ADD COLUMN `dict_class` int NULL DEFAULT 0 COMMENT '字典分类:取值从字典类型' AFTER `remark`; + ADD COLUMN `dict_class` varchar(10) NOT NULL DEFAULT 0 COMMENT '字典分类:取值从字典类型' AFTER `remark`; ALTER TABLE `sagoo_iot`.`sys_dict_type` MODIFY COLUMN `is_deleted` int NOT NULL DEFAULT 0 COMMENT '是否删除 0未删除 1已删除' AFTER `status`; ALTER TABLE `sagoo_iot`.`sys_dict_type`