Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Changeset checksum validation failed with same md5sum value

$
0
0
Hi Everyone,

We are using liquibase-core 3.4.1 version. we are migrating the db changes through the  changelog sql file for postgres database. Below is the code for migration.

  liquibase = new liquibase.Liquibase("db/<my_app_databasechange_log>.sql", new ClassLoaderResourceAccessor(), database);
liquibase.update(new Contexts(), new LabelExpression());

we added few changesets to the my_app_databasechange_log.sql file and ran it in local, it worked fine. When we moved to another environment(QA) it is failing with below error for existing changeset which is 10 changesets above of the newly added changeset. 

The error is showing the same md5sum as what is there in the databasechangelog table.

lvl":"ERROR","msg":"","exception":"liquibase.exception.ValidationFailedException: Validation Failed:\n     1 change sets check sum\n          db/<my_app_databasechange_log>.sql::<change_set_name>::o is now: 7:<old_md5sum>


Could you please help here.

Thanks
Sravan A

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>