From 97afdabeb7d1f2095f3fa170f0f78fb366c91644 Mon Sep 17 00:00:00 2001 From: Venkata Molluru Date: Sat, 30 Oct 2021 08:51:05 +0000 Subject: Add support to 7.1 VES data-stream in-parallel to 5.4 Issue-ID: HOLMES-308 Signed-off-by: Venkata Molluru Change-Id: I2a45548659e63171d80fdaab85318f0890b94345 --- .../assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine-d-standalone/src/main/assembly/dbscripts/postgresql') 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 ( -- cgit 1.2.3-korg