-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from singledemon/main
字典类型添加字段代码
- Loading branch information
Showing
9 changed files
with
77 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- ---------------------------- | ||
-- 2023-09-08 修改字典类型表 | ||
-- ---------------------------- | ||
ALTER TABLE `sagoo_iot`.`sys_dict_data` | ||
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` | ||
MODIFY COLUMN `module_classify` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '模块分类' AFTER `dict_type`; |