Add power database support

This commit is contained in:
2019-10-15 19:41:52 -04:00
parent 5bc8018068
commit d970f80278
12 changed files with 209 additions and 14 deletions

View File

@@ -0,0 +1,9 @@
IF NOT EXISTS(SELECT 1 FROM sys.tables WHERE name = 'Status')
CREATE TABLE Status
(
Timestamp datetimeoffset NOT NULL
CONSTRAINT status_pk
PRIMARY KEY,
Generation int NOT NULL,
Consumption int NOT NULL
);