OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Openmetadata DB migration: make it possible to select which schema to write to

Open exolightor opened this issue 2 years ago • 0 comments

Beginning after Postgres 15 all users except the owner are not allowed to write to the public schema. A workaround was implemented in #12370 related to #8208. However in our Cluster environment we are not allowed to alter the Database and change the owner. Currently the public schema seems to be hardcoded into the openmetadata server in the file bootstrap/sql/schema/postgres.sql.

It would be very useful to select the name of the schema trough an env variable, e.g. DB_SCHEMA, which could be set via helm chart or docker compose.

image

exolightor avatar Aug 20 '24 09:08 exolightor