Postgres 15: permission denied for schema public

Later versions of Postgres do not allow creating tables in the public schema. Flowable fails with an exception when trying to create the tables it requires in the database because of this. Is there a way to configure flowable to use a named schema and not public?

I found my answer. There’s a configuration property flowable.database-schema which does the job for those who have the same question. You may also have to configure liquibase & jpa depending on your needs.

All together Those are:
flowable.database-schema=schema
spring.liquibase.default-schema=schema
hibernate.default_schema=schema