table definition

This commit is contained in:
2021-05-21 13:28:21 +02:00
parent 97be1d06e5
commit 9164ff3e12

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');