table definition

This commit is contained in:
Wolfgang Hottgenroth 2021-05-21 13:28:21 +02:00
parent 97be1d06e5
commit 9164ff3e12
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -0,0 +1,11 @@
create table power_measurement_t (
time timestamp without time zone not null,
category text,
deviceid text,
status text,
power double precision,
energy double precision,
errorratio double precision
);
select create_hypertable('power_measurement_t', 'time');