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 + ... +```