Skip to content

Commit

Permalink
Give read access to DVH (again) (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe authored Jan 15, 2024
1 parent 00efc3f commit ab0f1ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/resources/db/migration/V1_8__grant_dvh_again.sql
Original file line number Diff line number Diff line change
@@ -0,0 +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 ab0f1ba

Please sign in to comment.