fix database schema
This commit is contained in:
parent
8fe4ba1483
commit
9e72b58917
@ -25,7 +25,7 @@ create index idx_sensors_sensor_id on sensors (sensor_id);
|
|||||||
|
|
||||||
create table registry
|
create table registry
|
||||||
(
|
(
|
||||||
sensor_id int not null references sensors (id),
|
sensor_id varchar(255) not null references sensors (sensor_id),
|
||||||
|
|
||||||
value float not null,
|
value float not null,
|
||||||
created_at timestamp not null default now()
|
created_at timestamp not null default now()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user