# How to rename changelog files in Liquibase?

**URL:** https://forum.liquibase.org/t/how-to-rename-changelog-files-in-liquibase/7245
**Category:** General Discussion
**Created:** [August 29, 2022, 3:35pm UTC](https://forum.liquibase.org/t/how-to-rename-changelog-files-in-liquibase/7245 "2022-08-29T15:35:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![db\_administrator](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@db\_administrator](https://forum.liquibase.org/u/db_administrator)
#### Post date: [August 29, 2022, 3:35pm UTC](https://forum.liquibase.org/t/how-to-rename-changelog-files-in-liquibase/7245/1 "2022-08-29T15:35:38Z")

</div>

Hi!  
I’m using Liquibase for my project and would like to rename my changelog files.

From old structure:

```
databaseChangeLog:
    - include:
        file: db/changelog/add_pokemons.sql
    - include:
        file: db/changelog/add_minions.sql

```

To new structure:

```
databaseChangeLog:
    - include:
        file: db/changelog/v001__add_table_pokemons.sql
    - include:
        file: db/changelog/v002__add_table_minions.sql

```

The Liquibase documentation unfortunately does not state best practices for such intention.

What would be the best approach in your opinion?

Thanks!

---

<div class="post-metadata">

### Author: ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)
#### Post date: [September 2, 2022, 5:43pm UTC](https://forum.liquibase.org/t/how-to-rename-changelog-files-in-liquibase/7245/2 "2022-09-02T17:43:10Z")

</div>

If you change the filename of a changelog, and assuming the changelog contains a changeset that has already been executed, you will need to update the databasechangelog.filename for the changeset in each database where the changeset has been executed.
