# Update Creating Duplicate Records

**URL:** <https://forum.liquibase.org/t/update-creating-duplicate-records/8110>\
**Category:** Uncategorized\
**Created:** [April 19, 2023, 9:25pm UTC](https://forum.liquibase.org/t/update-creating-duplicate-records/8110 "2023-04-19T21:25:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwmann89](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bwmann89](https://forum.liquibase.org/u/bwmann89)\
**Post date:** [April 19, 2023, 9:25pm UTC](https://forum.liquibase.org/t/update-creating-duplicate-records/8110/1 "2023-04-19T21:25:53Z")

</div>

Currently, I’m running Liquibase in Jenkins, and would like to test out deployment of new changesets. After I run my initial Liquibase update, this checks the DDL statement changesets I have in my changelogs, and creates entries into the DATABASECHANGELOG table. Whenever I add new changes to my changelogs, which are to simply ALTER 3 tables by adding a few columns, and re-deploy the views, every single changeset is entered as a duplicate into my DATABASECHANGELOG table. Duplicate ID, AUTHOR, and FILENAME.

I can also see that there are no other running queries in Snowflake either as the Liquibase service account whenever this happens.

SELECT ID, AUTHOR, FILENAME, DATEEXECUTED FROM DATABASECHANGELOG WHERE ID = ‘1\_1’;

| ID | AUTHOR | FILENAME | DATEEXECUTED |
| --- | --- | --- | --- |
| 1\_1 | M11X | ./…/com/idrc/tst/CMS\_AGG\_GEO\_SPTL\_TST/CMS\_AGG\_GEO\_SPTL\_TST-changelog.sql | 2023-04-19 14:12:35.249000 |
| 1\_1 | M11X | ./…/com/idrc/tst/CMS\_AGG\_GEO\_SPTL\_TST/CMS\_AGG\_GEO\_SPTL\_TST-changelog.sql | 2023-04-19 17:04:41.158000 |

SELECT ID, AUTHOR, FILENAME, DATEEXECUTED FROM DATABASECHANGELOG WHERE ID = ‘2\_1’;

| ID | AUTHOR | FILENAME | DATEEXECUTED |
| --- | --- | --- | --- |
| 2\_1 | M11X | ./…/com/idrc/tst/CMS\_DIM\_ACO\_TST/CMS\_DIM\_ACO\_TST-changelog.sql | 2023-04-19 14:12:51.219000 |
| 2\_1 | M11X | ./…/com/idrc/tst/CMS\_DIM\_ACO\_TST/CMS\_DIM\_ACO\_TST-changelog.sql | 2023-04-19 17:04:56.658000 |
