I am new to Corda and I have been trying to build a CordApp upon the IOU Kotlin sample available at https://github.com/corda/samples-kotlin/tree/release/4.12. The database schema migration fails with the following error:
[ERROR] 10:49:02-0300 [main] internal.NodeStartupLogging. – Failed to create the datasource: Validation Failed:
1 changeset had duplicate identifiers
migration/iou.changelog-v1.xml::create_states::martin
See the logs for further information and the cause. [Error Code: database-failed-startup. For further details, visit: https://docs.corda.net/docs/corda-os/4.12/error-codes.html]
I have been unable to spot duplicate identifiers in iou.changelog-v1.xml. Moreover, iou.changelog-master.xml includes iou.changelog-v1.xml just once.
Can anyone help me?
Gradle’s build log is at https://scans.gradle.com/s/zae4pezfvfzky
A gist for iou.changelog-master.xml and iou.changelog-v1.xml is at https://gist.github.com/gagliotti/57eaf38e1e330fc4489f5125ce1465dd
Martín Vigil is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.