From c93425b635f25ea14ed01f7df9050a3d8fb34ba6 Mon Sep 17 00:00:00 2001 From: Joep Peeters Date: Mon, 6 Mar 2023 14:13:15 +0100 Subject: [PATCH] add example config to changelog Signed-off-by: Joep Peeters --- .changeset/mean-toys-itch.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.changeset/mean-toys-itch.md b/.changeset/mean-toys-itch.md index 19f8c861df..f456b048fa 100644 --- a/.changeset/mean-toys-itch.md +++ b/.changeset/mean-toys-itch.md @@ -2,4 +2,20 @@ '@backstage/backend-common': patch --- -Adds config option to set ownership for newly created schemas and tables in Postgres +Adds config option `backend.database.role` to set ownership for newly created schemas and tables in Postgres + +### example config + +The example config below connects to the database as user `v-backstage-123` but sets the ownership of +the create schema's and tables to `backstage` + +```yaml +backend: + database: + client: pg + pluginDivisionMode: schema + role: backstage + connection: + user: v-backstage-123 + ... +```