correcting db scripts

merge-requests/713/head
Ace 4 years ago
parent 02fb5a09a8
commit 56f93161f0

@ -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,

@ -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)
)
/

Loading…
Cancel
Save