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;