Flyway 可以使用 ALTER TABLE 在迁移需要的地方备份和恢复数据吗?

Can Flyway backup and restore data where necessary for migrations using ALTER TABLE?

Flyway 如何处理行数据无法就地迁移且必须截断的列 ALTER; Flyway 是否处理这种情况下的数据备份和恢复

Flyway's documentation 中发现了这一点,处理数据的建议 backup/restore 是利用数据库自​​己的工具。这很好,但我不知道 Flyway 是否也有自己的功能来做同样的事情,即使它不如本机 RDBMS 功能。

..but I'm For optimal performance, and if your infrastructure supports this, we recommend using the snapshot technology of your underlying storage solution. Especially for larger data volumes, this can be several orders of magnitude faster than traditional backups and restores!

没有。 Flyway 会按照您的指示进行操作。没什么。仅此而已。