flyway 架构历史 table 名称

flyway schema history table name

我们一直在使用 flyway 进行模式迁移,版本 4.x/5.x - table 被命名为 schema_version。现在我们正在寻找最新版本 7.x。我看到一些信息表明新的 table 名称已更改为 flyway_schema_history,但后来我只是在 table 名称看起来的地方看到了这个被命名为 flyway_history_schema (https://flywaydb.org/documentation/concepts/migrations#schema-history-table).

任何使用 flyway 的人都可以确认架构历史 table 名称吗?

谢谢, 斯科特

table 的默认名称确实是 flyway_schema_history

您链接的文档部分是指 Flyway 的配置不允许创建新模式的情况,您需要手动创建一个模式供 table 居住。 “flyway_history_schema”是 架构 的建议名称,而不是 table.