Skip to content

Commit

Permalink
added table SBI_TRIGGER_PAUSED
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.forge.objectweb.org/svnroot/spagobi/V_4.x/Server/trunk@22314 99afaf0d-6903-0410-885a-c66a8bbb5f81
  • Loading branch information
mcortella committed Mar 19, 2014
1 parent d4bcf3f commit b95866e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
20 changes: 20 additions & 0 deletions SpagoBIDatabaseScripts/oracle/ORA_create.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2273,6 +2273,26 @@ CREATE TABLE SBI_ORGANIZATION_DATASOURCE (
PRIMARY KEY (DATASOURCE_ID,ORGANIZATION_ID )
) ;

CREATE TABLE SBI_TRIGGER_PAUSED (
ID INTEGER NOT NULL ,
TRIGGER_NAME VARCHAR2(80) NOT NULL,
TRIGGER_GROUP VARCHAR2(80) NOT NULL,
JOB_NAME VARCHAR2(80) NOT NULL,
JOB_GROUP VARCHAR2(80) NOT NULL,
USER_IN VARCHAR2(100) NOT NULL,
USER_UP VARCHAR2(100),
USER_DE VARCHAR2(100),
TIME_IN TIMESTAMP NOT NULL,
TIME_UP TIMESTAMP DEFAULT NULL,
TIME_DE TIMESTAMP DEFAULT NULL,
SBI_VERSION_IN VARCHAR2(10),
SBI_VERSION_UP VARCHAR2(10),
SBI_VERSION_DE VARCHAR2(10),
META_VERSION VARCHAR2(100),
ORGANIZATION VARCHAR2(20),
CONSTRAINT XAK1SBI_TRIGGER_PAUSED UNIQUE(TRIGGER_NAME, TRIGGER_GROUP, JOB_NAME, JOB_GROUP),
PRIMARY KEY (ID)
) ;


-- CREATE INDEXES SECTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,4 +477,25 @@ ALTER TABLE SBI_AUDIT MODIFY DOC_LABEL varchar(200);
ALTER TABLE SBI_AUDIT MODIFY DOC_NAME varchar(200);
ALTER TABLE SBI_OBJECTS DROP FOREIGN KEY FK_SBI_OBJECTS_5 ;
ALTER TABLE SBI_OBJECTS DROP FOREIGN KEY FK_SBI_OBJECTS_6;
ALTER TABLE SBI_OBJECTS DROP FOREIGN KEY FK_SBIDATA_SOURCE;
ALTER TABLE SBI_OBJECTS DROP FOREIGN KEY FK_SBIDATA_SOURCE;

CREATE TABLE SBI_TRIGGER_PAUSED (
ID INTEGER NOT NULL ,
TRIGGER_NAME VARCHAR2(80) NOT NULL,
TRIGGER_GROUP VARCHAR2(80) NOT NULL,
JOB_NAME VARCHAR2(80) NOT NULL,
JOB_GROUP VARCHAR2(80) NOT NULL,
USER_IN VARCHAR2(100) NOT NULL,
USER_UP VARCHAR2(100),
USER_DE VARCHAR2(100),
TIME_IN TIMESTAMP NOT NULL,
TIME_UP TIMESTAMP DEFAULT NULL,
TIME_DE TIMESTAMP DEFAULT NULL,
SBI_VERSION_IN VARCHAR2(10),
SBI_VERSION_UP VARCHAR2(10),
SBI_VERSION_DE VARCHAR2(10),
META_VERSION VARCHAR2(100),
ORGANIZATION VARCHAR2(20),
CONSTRAINT XAK1SBI_TRIGGER_PAUSED UNIQUE(TRIGGER_NAME, TRIGGER_GROUP, JOB_NAME, JOB_GROUP),
PRIMARY KEY (ID)
) ;

0 comments on commit b95866e

Please sign in to comment.