Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ac4a032b62
|
|||
69e8a507aa
|
@ -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"
|
||||||
|
@ -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;
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user