diff options
author | 2020-10-10 11:28:00 +0800 | |
---|---|---|
committer | 2020-10-10 14:34:47 +0800 | |
commit | dec7deafea340e0502a02da956cd98bf71e9cfd4 (patch) | |
tree | 1fd623bc95dc5b3fb417fe5e77647367c531ae82 /engine-d-standalone/src/main/assembly/dbscripts/postgresql | |
parent | 1c568079fd4e19220b32dee953fa10c43806294e (diff) |
Fixed MSB Invocation Issues
Issue-ID: HOLMES-365
Signed-off-by: tang peng <tang.peng5@zte.com.cn>
Change-Id: Ia8ede9b1864b1498b0a6d766c01bc6f67deecfc6
Diffstat (limited to 'engine-d-standalone/src/main/assembly/dbscripts/postgresql')
-rw-r--r-- | engine-d-standalone/src/main/assembly/dbscripts/postgresql/onap-holmes_engine-createobj.sql | 9 |
1 files changed, 9 insertions, 0 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 276957c..82eed4a 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 @@ -39,5 +39,14 @@ CREATE TABLE ALARM_INFO ( PRIMARY KEY (EVENTID) ); +CREATE TABLE IF NOT EXISTS ENGINE_ENTITY ( + ID VARCHAR(150) NOT NULL, + IP VARCHAR(128) NOT NULL, + PORT SMALLINT NOT NULL, + LASTMODIFIED BIGINT NOT NULL, + PRIMARY KEY (ID) +); + GRANT ALL PRIVILEGES ON ALARM_INFO TO DBUSER; +GRANT ALL PRIVILEGES ON ENGINE_ENTITY TO DBUSER; |