如何解决失败的飞路验证问题?

时间:2013-12-02 12:38:58

标签: database upgrade flyway

删除所有表用户模式后,这是尝试运行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

知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:3)

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

sqlplus

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

truncate table "schema_version";
commit;