Flyway 迁移状态`outOfOrder`?
Flyway migration status `outOfOrder`?
我最近在我的 Flyway 配置中启用了 outOfOrder
来解决一些合并冲突。
问题是当我 运行 migrate
我的所有脚本都被执行并且状态显示 OutOfOrder
.
我想知道 OutOfOrder
是否表示成功状态?
是的,这是一个成功应用的迁移。
有关详细信息,请参阅 MigrationState#OUT_OF_ORDER。
/**
* <p>This migration succeeded.</p>
* <p>
* This migration succeeded, but it was applied out of order.
* Rerunning the entire migration history might produce different results!
* </p>
*/
OUT_OF_ORDER("OutOrdr", true, true, false)
/**
* Creates a new MigrationState.
*
* @param displayName The name suitable for display to the end-user.
* @param resolved Flag indicating if this migration is available on the classpath or not.
* @param applied Flag indicating if this migration has been applied or not.
* @param failed Flag indicating if this migration has failed when it was applied or not.
*/
MigrationState(String displayName, boolean resolved, boolean applied, boolean failed) {
我最近在我的 Flyway 配置中启用了 outOfOrder
来解决一些合并冲突。
问题是当我 运行 migrate
我的所有脚本都被执行并且状态显示 OutOfOrder
.
我想知道 OutOfOrder
是否表示成功状态?
是的,这是一个成功应用的迁移。
有关详细信息,请参阅 MigrationState#OUT_OF_ORDER。
/**
* <p>This migration succeeded.</p>
* <p>
* This migration succeeded, but it was applied out of order.
* Rerunning the entire migration history might produce different results!
* </p>
*/
OUT_OF_ORDER("OutOrdr", true, true, false)
/**
* Creates a new MigrationState.
*
* @param displayName The name suitable for display to the end-user.
* @param resolved Flag indicating if this migration is available on the classpath or not.
* @param applied Flag indicating if this migration has been applied or not.
* @param failed Flag indicating if this migration has failed when it was applied or not.
*/
MigrationState(String displayName, boolean resolved, boolean applied, boolean failed) {