Skip to content

Commit

Permalink
🔖 release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hccake committed Oct 14, 2021
1 parent 5a8f90a commit 20266c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ballcat-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</licenses>

<properties>
<revision>0.4.0-SNAPSHOT</revision>
<revision>0.4.0</revision>

<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion doc/2ballcat-0.4.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ CREATE TABLE `sys_role` (
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`type` tinyint(1) NULL DEFAULT 2 COMMENT '角色类型,1:系统角色 2:业务角色',
`scope_type` tinyint(1) NULL DEFAULT NULL COMMENT '数据范围类型',
`scope_type` tinyint(1) NULL DEFAULT 1 COMMENT '数据范围类型',
`scope_resources` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据范围资源,当数据范围类型为自定义时使用',
`note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
`deleted` bigint(20) NULL DEFAULT NULL COMMENT '逻辑删除标识,未删除为 0,已删除为删除时间',
Expand Down
8 changes: 6 additions & 2 deletions doc/update_sql/0.4.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ ALTER TABLE sys_role ADD COLUMN `scope_resources` varchar(255) CHARACTER SET utf
ALTER TABLE `sys_user` ADD INDEX `idx_organizaiton_id`(`organization_id`);

-- 用户的组织机构不选默认为空,而不是 0
ALTER TABLE ``sys_user`
MODIFY COLUMN `organization_id` int(11) NULL DEFAULT NULL COMMENT '所属组织ID' AFTER `type`;
ALTER TABLE `sys_user`
MODIFY COLUMN `organization_id` int(11) NULL DEFAULT NULL COMMENT '所属组织ID' AFTER `type`;

-- 数据范围默认值
ALTER TABLE `sys_role`
MODIFY COLUMN `scope_type` tinyint(1) NULL DEFAULT 1 COMMENT '数据范围类型' AFTER `type`;
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


<properties>
<revision>0.4.0-SNAPSHOT</revision>
<revision>0.4.0</revision>

<java.version>1.8</java.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down

0 comments on commit 20266c0

Please sign in to comment.