Skip to content

Commit

Permalink
Adjust grants after migration and give read access to DVH
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe committed Jan 12, 2024
1 parent d661427 commit 557d1eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/resources/db/migration/V1_6__grant_dvh.sql
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
DO $$
BEGIN
CREATE USER "[email protected]";
EXCEPTION WHEN DUPLICATE_OBJECT THEN
RAISE NOTICE 'not creating user disykefravar -- it already exists';
END
$$;

GRANT SELECT ON motebehov to "[email protected]";

0 comments on commit 557d1eb

Please sign in to comment.