schema fix
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
create database level_monitoring;
|
create database level_monitoring;
|
||||||
create extension timescaledb;
|
-- create extension timescaledb;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ select create_hypertable('measurement_t', 'time');
|
|||||||
insert into application_t (device_id, label, sensor_type, ground_level)
|
insert into application_t (device_id, label, sensor_type, ground_level)
|
||||||
values('eui-a84041a2c18341d6', 'deilbach', 'LDDS75', 300);
|
values('eui-a84041a2c18341d6', 'deilbach', 'LDDS75', 300);
|
||||||
|
|
||||||
create user preprocessor password 'geheim';
|
-- create user preprocessor password 'geheim';
|
||||||
grant select on application_t to preprocessor;
|
grant select on application_t to preprocessor;
|
||||||
grant insert on measurement_t to preprocessor;
|
grant insert on measurement_t to preprocessor;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user