# Databasechangelog specify schema name postgres

**URL:** <https://forum.liquibase.org/t/databasechangelog-specify-schema-name-postgres/4966>\
**Category:** General Discussion\
**Created:** [January 18, 2021, 1:46am UTC](https://forum.liquibase.org/t/databasechangelog-specify-schema-name-postgres/4966 "2021-01-18T01:46:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sairamyannam](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@sairamyannam](https://forum.liquibase.org/u/sairamyannam)\
**Post date:** [January 18, 2021, 1:46am UTC](https://forum.liquibase.org/t/databasechangelog-specify-schema-name-postgres/4966/1 "2021-01-18T01:46:00Z")

</div>

hi, i want to create databasechangelog and databasechangelock tables in seperate schema instead of public in postgres, i tried but its getting created only under public. any documentation or steps to do these would be really appreciated.

---

<div class="post-metadata">

**Author:** ![rakhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/rakhi/32/288_2.png) [@rakhi](https://forum.liquibase.org/u/rakhi)\
**Post date:** [January 18, 2021, 10:47am UTC](https://forum.liquibase.org/t/databasechangelog-specify-schema-name-postgres/4966/2 "2021-01-18T10:47:57Z")

</div>

Hi @sairamyannam ,

I believe using property `liquibaseSchemaName` should help you achieve the target. I haven’t given it a try but the liquibase documentation says the property value `Specifies the schema name where the Liquibase tables will be located`.  
Have a look here : [https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html?Highlight=liquibaseSchemaName](https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html?Highlight=liquibaseSchemaName)

This link also says the same : [specify-schema-location-for-changelog-tables](https://stackoverflow.com/questions/35031316/how-to-specify-schema-location-for-changelog-tables/35043363)

Let me know if this helps!  
Cheers!!
