切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
郑周
2 years ago
提交
4ced2088c3ece850719bd50ef6e57280dba5d7ee
1 个父辈
848e3bc4
1. 1.2.4脚本命令
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
11 行增加
和
7 行删除
sql/1.2.4.sql
sql/1.2.4.sql
查看文件 @
4ced208
-- 权限表建新列
ALTER
TABLE
public
.
"permission"
ADD
opt_confirm_perf
int8
NULL
DEFAULT
1
;
COMMENT
ON
COLUMN
public
.
"permission"
.
opt_confirm_perf
IS
'是否需要员工确认绩效'
;
ALTER
TABLE
public
.
"permission"
ADD
opt_confirm_perf
int8
NULL
DEFAULT
1
;
COMMENT
ON
COLUMN
public
.
"permission"
.
opt_confirm_perf
IS
'是否需要员工确认绩效'
;
ALTER
TABLE
public
.
"permission"
ADD
cycle_deadline
jsonb
NULL
;
COMMENT
ON
COLUMN
public
.
"permission"
.
cycle_deadline
IS
'周期评估各业务截止时间'
;
ALTER
TABLE
public
.
"permission"
ADD
cycle_deadline
jsonb
NULL
;
COMMENT
ON
COLUMN
public
.
"permission"
.
cycle_deadline
IS
'周期评估各业务截止时间'
;
-- 公司添加超级管理员(不存在时插入新数据)(注.公司ID->416)
...
...
@@ -43,8 +47,7 @@ with temp_role as (
public
.
"role"
where
"role"
.
company_id
=
416
and
"role"
.
"type"
=
2
)
and
"role"
.
"type"
=
2
)
insert
into
public
.
"role_user"
...
...
@@ -64,7 +67,7 @@ select
from
temp_role
where
not
exists
(
not
exists
(
select
1
from
...
...
@@ -73,3 +76,4 @@ where
"role_user"
.
company_id
=
416
and
"role_user"
.
user_id
=
3337322891762688
and
"role_user"
.
role_id
=
temp_role
.
"id"
);
--
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论