将Liquibase XML更改日志转换为YAML格式后出现错误:“关系已存在”。

huangapple go评论79阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年9月29日 19:20:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/64118558.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定