From 3131444fef8f64a4432bd0c5a448b089d79cc3de Mon Sep 17 00:00:00 2001 From: geir-waagboe Date: Wed, 3 Jan 2024 13:45:59 +0100 Subject: [PATCH] Migrate GCP and Postgres --- src/main/resources/db/migration/R__grant_to_cloudsqliamuser.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/db/migration/R__grant_to_cloudsqliamuser.sql b/src/main/resources/db/migration/R__grant_to_cloudsqliamuser.sql index 361c14f7..380047db 100644 --- a/src/main/resources/db/migration/R__grant_to_cloudsqliamuser.sql +++ b/src/main/resources/db/migration/R__grant_to_cloudsqliamuser.sql @@ -1,3 +1,4 @@ REVOKE ALL ON ALL TABLES IN SCHEMA public FROM cloudsqliamuser; -- GRANT SELECT ON ALL TABLES IN SCHEMA public TO cloudsqliamuser; GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO cloudsqliamuser; +GRANT USAGE ON ALL SEQUENCES IN SCHEMA public TO cloudsqliamuser;