Skip to content

Commit 15697fc

Browse files
Fortune-Ndlovurm3l
andauthored
docs: document pluginDivisionMode: schema for RHDH Local (RHIDP-11919) (#182)
Co-authored-by: Armel Soro <armel@rm3l.org>
1 parent 1490af1 commit 15697fc

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/rhdh-local-guide/postgresql-guide.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,18 @@ If you want to use PostgreSQL with RHDH, here are the steps:
6767
user: ${POSTGRES_USER}
6868
password: ${POSTGRES_PASSWORD}
6969
```
70+
71+
If you need **`pluginDivisionMode: schema`** (one database, one schema per plugin — useful when the DB user cannot create multiple databases), use this **`backend.database`** block in `app-config.local.yaml` **instead** of the snippet above:
72+
73+
```yaml
74+
backend:
75+
database:
76+
client: pg
77+
pluginDivisionMode: schema
78+
connection:
79+
host: ${POSTGRES_HOST}
80+
port: ${POSTGRES_PORT}
81+
user: ${POSTGRES_USER}
82+
password: ${POSTGRES_PASSWORD}
83+
database: ${POSTGRES_DB}
84+
```

0 commit comments

Comments
 (0)