英文:
After converting Liquibase XML changelogs to YAML format the error "relation already exists" comes up
问题
将我的XML Liquibase变更日志和主文件转换为YAML格式后,出现错误消息"relation tableName already exists"。
如果我切换回XML格式,一切正常。我在YAML和XML之间的变更日志文件中找不到任何区别,但却无法工作。
我是否需要切换回XML格式,或者问题出在哪里?
提前谢谢。
英文:
After converting my XML liquibase changelog and master files to YAML format, I get the error "relation tableName already exists".
If I switch back to XML format, everything works fine. I couldn't find any difference in the changelog files between YAML and XML, but it doesn't work.
Do I need to switch back to XML or what is the problem there?
Thank you in advance.
答案1
得分: 1
来自@bilak在原帖中的回答:
检查XML和YAML之间的校验和是否匹配。我认为它们是不同的,你需要为每个新的YAML条目创建一个有效的校验和。
英文:
Answer from @bilak in original post:
check if checksums match between xml and yaml. I think they are different and you will need to create validCheckSum for each new yaml entry.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论