fix database schema

This commit is contained in:
Pedro Pérez 2025-10-09 05:34:13 +02:00
parent 8fe4ba1483
commit 9e72b58917

View File

@ -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()