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