ALTER TABLE APP_ACT_COE_PAL_UPFILE ADD COLUMN SECURITYLEVEL SMALLINT(1) NOT NULL DEFAULT -1;
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_REPO_R modify PLLEVEL DECIMAL(6,3);

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;


ALTER TABLE APP_ACT_COE_PAL_REPOSITORY ADD CONVERTCOUNT INT DEFAULT 0 NULL;