From 034329ef5326c1e05754413d6499cb588a657622 Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Fri, 7 Jun 2024 17:09:12 +0800 Subject: [PATCH] feat(migrations): grant predefined roles to postgres by default `postgres` can already grant these roles to itself, we just do this by default so users don't get confused --- .../20240607084701_grant_predefined_roles_to_postgres.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 migrations/db/migrations/20240607084701_grant_predefined_roles_to_postgres.sql diff --git a/migrations/db/migrations/20240607084701_grant_predefined_roles_to_postgres.sql b/migrations/db/migrations/20240607084701_grant_predefined_roles_to_postgres.sql new file mode 100644 index 000000000..324e12416 --- /dev/null +++ b/migrations/db/migrations/20240607084701_grant_predefined_roles_to_postgres.sql @@ -0,0 +1,4 @@ +-- migrate:up +grant pg_read_all_data, pg_signal_backend to postgres; + +-- migrate:down