Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/src/deployment/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,18 @@ spring:
validate-on-migrate: true
```

### PostgreSQL extensions

IDP-Core depends on PostgreSQL extensions that must be installed in the target database before running schema migrations that rely on them. You have three common options:

- Provision extensions directly via your Infrastructure as Code (for example Terraform resources) or checking them off in your cloud provider's database management dashboard
- Apply the provided initialization script (`/scripts/init-extensions.sql`) using `psql` from your deployment host
- Add a Flyway migration to your repository. Place a migration such as `V1__install_extensions.sql` in `db/migration` containing the `CREATE EXTENSION` statements. Flyway will execute the SQL file as part of the migration sequence.

@etiennej70 etiennej70 Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't have it like you did locally ? With "IF NOT EXISTS" it should not break anything in a flyway migration (and avoid this script outside the flyway pipeline) ?
Because it is hard to modify a migration when you install an opensource package / docker image ;)


Key note:

- Installing extensions requires superuser privileges or a role with `CREATE` extension privileges. If your application user lacks those privileges, perform installation as a DBA or during provisioning.

---

## Application Settings
Expand Down
Loading