summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src
diff options
context:
space:
mode:
authorVenkata Molluru <venkatamuralimohanreddy.molluru@techmahindra.com>2021-10-30 08:51:05 +0000
committerGuangrong Fu <fu.guangrong@zte.com.cn>2021-11-08 18:04:23 +0800
commit97afdabeb7d1f2095f3fa170f0f78fb366c91644 (patch)
tree8111cce85b33f877663acc5e8b7ab2b0dee6b576 /engine-d-standalone/src
parent553c09f2e8691b6d1301470538c3a00571894356 (diff)
Add support to 7.1 VES data-stream in-parallel to 5.4
Issue-ID: HOLMES-308 Signed-off-by: Venkata Molluru <venkatamuralimohanreddy.molluru@techmahindra.com> Change-Id: I2a45548659e63171d80fdaab85318f0890b94345
Diffstat (limited to 'engine-d-standalone/src')
-rw-r--r--engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql b/engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql
index 82eed4a..6831ce2 100644
--- a/engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql
+++ b/engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql
@@ -36,7 +36,8 @@ CREATE TABLE ALARM_INFO (
LASTEPOCHMICROSEC BIGINT NOT NULL,
SOURCEID VARCHAR(150) NOT NULL,
SOURCENAME VARCHAR(150) NOT NULL,
- PRIMARY KEY (EVENTID)
+ SEQUENCE SMALLINT NOT NULL,
+ PRIMARY KEY (EVENTID, SEQUENCE, SOURCENAME)
);
CREATE TABLE IF NOT EXISTS ENGINE_ENTITY (