gpt4 book ai didi

database - 如何解决 flyway 验证失败?

转载 作者:搜寻专家 更新时间:2023-10-30 22:13:06 25 4
gpt4 key购买 nike

删除所有表用户模式后,这是尝试运行 flyway 安装的错误:

ERROR: FlywayException: Validate failed. Found differences between applied migrations and available migrations: Detected applied migration missing on the classpath: 2.001
ERROR: Occured in com.googlecode.flyway.core.Flyway.doValidate() at line 941
An ERROR has occurred migrating the SYSTEM Schema, execution aborted

知道如何解决吗?

最佳答案

升级是针对 OracleXE 数据库完成的。我用过

sqlplus

使用在安装时配置的 system 用户名和密码,并且:

truncate table "schema_version";
commit;

关于database - 如何解决 flyway 验证失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20328581/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com