# Postgres 15: permission denied for schema public

**URL:** <https://forum.flowable.org/t/postgres-15-permission-denied-for-schema-public/10333>\
**Category:** Flowable Engine\
**Created:** [March 18, 2023, 9:21pm UTC](https://forum.flowable.org/t/postgres-15-permission-denied-for-schema-public/10333 "2023-03-18T21:21:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flowablenoob](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@Flowablenoob](https://forum.flowable.org/u/Flowablenoob)\
**Post date:** [March 18, 2023, 9:21pm UTC](https://forum.flowable.org/t/postgres-15-permission-denied-for-schema-public/10333/1 "2023-03-18T21:21:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Flowablenoob](https://avatars.discourse-cdn.com/v4/letter/f/d9b06d/32.png) [@Flowablenoob](https://forum.flowable.org/u/Flowablenoob)\
**Post date:** [March 18, 2023, 10:11pm UTC](https://forum.flowable.org/t/postgres-15-permission-denied-for-schema-public/10333/2 "2023-03-18T22:11:20Z")

</div>

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
