2 Commits
0.0.5 ... 0.0.6

Author SHA1 Message Date
ac4a032b62 rename container 2023-02-17 11:57:29 +01:00
69e8a507aa schema changes 2023-01-30 21:39:34 +01:00
2 changed files with 4 additions and 8 deletions

View File

@ -30,7 +30,7 @@ deploy:
- tags - tags
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
CONTAINER_NAME: preprocessor CONTAINER_NAME: badesee-preprocessor
script: script:
- docker stop $CONTAINER_NAME || echo "container not running, never mind" - docker stop $CONTAINER_NAME || echo "container not running, never mind"
- docker rm $CONTAINER_NAME || echo "container not existing, never mind" - docker rm $CONTAINER_NAME || echo "container not existing, never mind"

View File

@ -33,10 +33,6 @@ insert into sensor_t (address, label, index, device)
(10664523975231507496, '3,0m ', 2, 1), (10664523975231507496, '3,0m ', 2, 1),
(15276209993662477608, '4,0m ', 3, 1); (15276209993662477608, '4,0m ', 3, 1);
select d.label as device_label, create user preprocessor password 'geheim';
s.label as label, grant select on device_t, sensor_t to preprocessor;
s.address as address, grant insert on measurement_t to preprocessor;
s.index as index
from device_t d, sensor_t s
where d.id = s.device;