IDEMPIERE-1064 Control dashboard access by role / Fix migration script error

This commit is contained in:
Carlos Ruiz 2013-09-14 14:42:02 -05:00
parent 6e7646db5c
commit 6c3257ccd7
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ UPDATE AD_Column SET IsKey='N',Updated=TO_DATE('2013-09-02 15:22:31','YYYY-MM-DD
-- Sep 2, 2013 3:22:49 PM COT
-- IDEMPIERE-1064 Control dashboard access by role
CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMBER(10) DEFAULT NULL , AD_Org_ID NUMBER(10) DEFAULT NULL , AD_Role_ID NUMBER(10) DEFAULT NULL , AD_User_ID NUMBER(10) DEFAULT NULL , Created DATE DEFAULT NULL , CreatedBy NUMBER(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMBER(10) NOT NULL, PA_DashboardContent_Access_UU NVARCHAR2(36) DEFAULT NULL , PA_DashboardContent_ID NUMBER(10) DEFAULT NULL , Updated DATE DEFAULT NULL , UpdatedBy NUMBER(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PA_DashboardContent_Access__uu_idx UNIQUE (PA_DashboardContent_Access_UU))
CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMBER(10) DEFAULT NULL , AD_Org_ID NUMBER(10) DEFAULT NULL , AD_Role_ID NUMBER(10) DEFAULT NULL , AD_User_ID NUMBER(10) DEFAULT NULL , Created DATE DEFAULT NULL , CreatedBy NUMBER(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMBER(10) NOT NULL, PA_DashboardContent_Access_UU NVARCHAR2(36) DEFAULT NULL , PA_DashboardContent_ID NUMBER(10) DEFAULT NULL , Updated DATE DEFAULT NULL , UpdatedBy NUMBER(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PADashboardContentAcces_UU_idx UNIQUE (PA_DashboardContent_Access_UU))
;
-- Sep 2, 2013 3:22:49 PM COT

View File

@ -148,7 +148,7 @@ UPDATE AD_Column SET IsKey='N',Updated=TO_TIMESTAMP('2013-09-02 15:22:31','YYYY-
-- Sep 2, 2013 3:22:49 PM COT
-- IDEMPIERE-1064 Control dashboard access by role
CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMERIC(10) DEFAULT NULL , AD_Org_ID NUMERIC(10) DEFAULT NULL , AD_Role_ID NUMERIC(10) DEFAULT NULL , AD_User_ID NUMERIC(10) DEFAULT NULL , Created TIMESTAMP DEFAULT NULL , CreatedBy NUMERIC(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMERIC(10) NOT NULL, PA_DashboardContent_Access_UU VARCHAR(36) DEFAULT NULL , PA_DashboardContent_ID NUMERIC(10) DEFAULT NULL , Updated TIMESTAMP DEFAULT NULL , UpdatedBy NUMERIC(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PA_DashboardContent_Access__uu_idx UNIQUE (PA_DashboardContent_Access_UU))
CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMERIC(10) DEFAULT NULL , AD_Org_ID NUMERIC(10) DEFAULT NULL , AD_Role_ID NUMERIC(10) DEFAULT NULL , AD_User_ID NUMERIC(10) DEFAULT NULL , Created TIMESTAMP DEFAULT NULL , CreatedBy NUMERIC(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMERIC(10) NOT NULL, PA_DashboardContent_Access_UU VARCHAR(36) DEFAULT NULL , PA_DashboardContent_ID NUMERIC(10) DEFAULT NULL , Updated TIMESTAMP DEFAULT NULL , UpdatedBy NUMERIC(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PADashboardContentAcces_UU_idx UNIQUE (PA_DashboardContent_Access_UU))
;
-- Sep 2, 2013 3:22:49 PM COT