fix database schema
This commit is contained in:
@@ -25,7 +25,7 @@ create index idx_sensors_sensor_id on sensors (sensor_id);
|
||||
|
||||
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,
|
||||
created_at timestamp not null default now()
|
||||
|
||||
Reference in New Issue
Block a user