ThreadCount Community edition
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 49da3a4 on 2026-09-13. Licensed under the Functional Source License (FSL-1.1-ALv2).
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
--
|
||||
-- stray query in a projection would.
|
||||
--
|
||||
-- Created by hand as postgres before this migration reaches the box:
|
||||
DO $$
|
||||
BEGIN
|
||||
IF NOT EXISTS (SELECT 1 FROM pg_roles WHERE rolname = 'ops_reveal') THEN
|
||||
RAISE NOTICE 'ops_reveal does not exist — grants skipped; create the role, then apply this block by hand';
|
||||
RETURN;
|
||||
END IF;
|
||||
GRANT USAGE ON SCHEMA public TO ops_reveal;
|
||||
GRANT SELECT ("id", "coordinator", "coordinatorEmail", "coordinatorPhone") ON "Facility" TO ops_reveal;
|
||||
END $$;
|
||||
Reference in New Issue
Block a user