# Flowable database table prefix

**URL:** <https://forum.flowable.org/t/flowable-database-table-prefix/12151>\
**Category:** Flowable Engine\
**Created:** [March 20, 2025, 11:01am UTC](https://forum.flowable.org/t/flowable-database-table-prefix/12151 "2025-03-20T11:01:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toden16](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@toden16](https://forum.flowable.org/u/toden16)\
**Post date:** [March 20, 2025, 11:01am UTC](https://forum.flowable.org/t/flowable-database-table-prefix/12151/1 "2025-03-20T11:01:54Z")

</div>

Hi,  
I am using the following config for flowable to create my database schema:

> ```
> config.setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);
> 
> ```

Is there any way for flowable to create the tables with custom names? E.g. “ACT\_HI\_DETAIL” should be named “XXX\_ACT\_HI\_DETAIL”, as this would follow our company best practice. Is there any way to archieve this?

Any guidance would be highly apreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [March 22, 2025, 2:28pm UTC](https://forum.flowable.org/t/flowable-database-table-prefix/12151/2 "2025-03-22T14:28:38Z")

</div>

No, not on creation. There seems to be something in that direction, but it’s not quite what you’re asking:

```auto
 /**
     * Allows configuring a database table prefix which is used for all runtime operations of the process engine. For example, if you specify a prefix named 'PRE1.', Flowable will query for executions
     * in a table named 'PRE1.ACT_RU_EXECUTION_'.
     *
     * <p>
     * <strong>NOTE: the prefix is not respected by automatic database schema management. If you use {@link AbstractEngineConfiguration#DB_SCHEMA_UPDATE_CREATE_DROP} or
     * {@link AbstractEngineConfiguration#DB_SCHEMA_UPDATE_TRUE}, Flowable will create the database tables using the default names, regardless of the prefix configured here.</strong>
     */
    protected String databaseTablePrefix = "";

```
