diff --git a/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/mysql.sql b/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/mysql.sql index 4584426b5c7..570c2f78df2 100644 --- a/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/mysql.sql +++ b/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/mysql.sql @@ -1,5 +1,5 @@ -- ----------------------------------------------------- --- Table `POWER_METER_DEVICE` +-- Table `SERVER_HEART_BEAT_EVENTS` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS SERVER_HEART_BEAT_EVENTS ( ID INTEGER AUTO_INCREMENT NOT NULL, diff --git a/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/oracle.sql b/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/oracle.sql index 81ed4cfaadb..3f435816f4c 100644 --- a/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/oracle.sql +++ b/features/heartbeat-management/io.entgra.server.heart.beat.feature/src/main/resources/dbscripts/heart-beat/oracle.sql @@ -9,6 +9,6 @@ CREATE TABLE SERVER_HEART_BEAT_EVENTS ( UUID VARCHAR(100) NOT NULL, SERVER_PORT INTEGER NOT NULL, LAST_UPDATED_TIMESTAMP TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, - CONSTRAINT PK_POWER_METER_DEVICE PRIMARY KEY (ID) + CONSTRAINT PK_SERVER_HEART_BEAT_EVENTS PRIMARY KEY (ID) ) /