table definition
This commit is contained in:
parent
97be1d06e5
commit
9164ff3e12
11
table_power_measurement_t.sql
Normal file
11
table_power_measurement_t.sql
Normal 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');
|
Loading…
x
Reference in New Issue
Block a user