From 5b6fe274f19d983c25147552875fce467df28d15 Mon Sep 17 00:00:00 2001 From: anhc <3442943606@qq.com> Date: Tue, 12 Jul 2022 21:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=BB=84=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=AF=AD=E5=8F=A5=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com.actionsoft.apps.coe.pal/db/6.5/mysql.sql | 7 +++++-- com.actionsoft.apps.coe.pal/db/6.5/oracle.sql | 9 ++++++++- com.actionsoft.apps.coe.pal/db/6.6/mysql.sql | 3 --- 3 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 com.actionsoft.apps.coe.pal/db/6.6/mysql.sql diff --git a/com.actionsoft.apps.coe.pal/db/6.5/mysql.sql b/com.actionsoft.apps.coe.pal/db/6.5/mysql.sql index 828295b5..2a80d95b 100644 --- a/com.actionsoft.apps.coe.pal/db/6.5/mysql.sql +++ b/com.actionsoft.apps.coe.pal/db/6.5/mysql.sql @@ -2,6 +2,9 @@ ALTER TABLE APP_ACT_COE_PAL_UPFILE ADD COLUMN SECURITYLEVEL SMALLINT(1) NOT NULL ALTER TABLE APP_ACT_COE_PAL_REPO_R ADD COLUMN SECURITYLEVEL SMALLINT(1) NOT NULL DEFAULT -1; ALTER TABLE APP_ACT_COE_PAL_REPOSITORY ADD COLUMN SECURITYLEVEL SMALLINT(1) NOT NULL DEFAULT -1; -ALTER TABLE APP_ACT_COE_PAL_REPOSITORY modify PLVER DECIMAL(6,3) +ALTER TABLE APP_ACT_COE_PAL_REPOSITORY modify PLVER DECIMAL(6,3); +ALTER TABLE APP_ACT_COE_PAL_REPO_R modify PLLEVEL DECIMAL(6,3); -ALTER TABLE APP_ACT_COE_PAL_REPO_R modify PLLEVEL DECIMAL(6,3) \ No newline at end of file +ALTER TABLE APP_ACT_COE_PAL_COOP_ROLE_PERM ADD ACTIONPERM varchar(36); +ALTER TABLE APP_ACT_COE_PAL_COOP_ROLE ADD ISUSER SMALLINT; +UPDATE APP_ACT_COE_PAL_COOP_ROLE SET ISUSER = 0; \ No newline at end of file diff --git a/com.actionsoft.apps.coe.pal/db/6.5/oracle.sql b/com.actionsoft.apps.coe.pal/db/6.5/oracle.sql index 0e305ed4..02094e54 100755 --- a/com.actionsoft.apps.coe.pal/db/6.5/oracle.sql +++ b/com.actionsoft.apps.coe.pal/db/6.5/oracle.sql @@ -1,3 +1,10 @@ ALTER TABLE APP_ACT_COE_PAL_UPFILE ADD (SECURITYLEVEL NUMBER(1) DEFAULT -1 NOT NULL); ALTER TABLE APP_ACT_COE_PAL_REPO_R ADD (SECURITYLEVEL NUMBER(1) DEFAULT -1 NOT NULL); -ALTER TABLE APP_ACT_COE_PAL_REPOSITORY ADD (SECURITYLEVEL NUMBER(1) DEFAULT -1 NOT NULL); \ No newline at end of file +ALTER TABLE APP_ACT_COE_PAL_REPOSITORY ADD (SECURITYLEVEL NUMBER(1) DEFAULT -1 NOT NULL); + +ALTER TABLE APP_ACT_COE_PAL_REPOSITORY modify (PLVER NUMBER(6,3)); +ALTER TABLE APP_ACT_COE_PAL_REPO_R modify (PLLEVEL NUMBER(6,3)); + +ALTER TABLE APP_ACT_COE_PAL_COOP_ROLE_PERM ADD (ACTIONPERM VARCHAR2(36)); +ALTER TABLE APP_ACT_COE_PAL_COOP_ROLE ADD (ISUSER NUMBER(1)); +UPDATE APP_ACT_COE_PAL_COOP_ROLE SET ISUSER = 0; \ No newline at end of file diff --git a/com.actionsoft.apps.coe.pal/db/6.6/mysql.sql b/com.actionsoft.apps.coe.pal/db/6.6/mysql.sql deleted file mode 100644 index 2364910d..00000000 --- a/com.actionsoft.apps.coe.pal/db/6.6/mysql.sql +++ /dev/null @@ -1,3 +0,0 @@ -ALTER TABLE APP_ACT_COE_PAL_REPOSITORY modify PLVER DECIMAL(6,3) - -ALTER TABLE APP_ACT_COE_PAL_REPO_R modify PLLEVEL DECIMAL(6,3) \ No newline at end of file