【发布时间】:2020-04-29 01:57:58
【问题描述】:
所以我在 docker 容器上运行 flyway 并且 flyway 找不到我的迁移文件夹。
我是这样定义的:
flyway.locations=filesystem:user/path/to/my/project/common/migrations/
在运行 docker 容器时更改文件路径也会产生相同的错误。
操作系统是 Ubuntu 18.04。
错误信息:
migrate_1 | WARNING: Flyway upgrade recommended: PostgreSQL 12.1 is newer than this version of Flyway and support has not been tested.
migrate_1 | WARNING: Skipping filesystem location:/user/path/to/my/project/common/migrations (not found)
更新:更改文件路径不再起作用。始终运行 docker-compose up 会在相同的文件路径位置产生相同的错误。
【问题讨论】:
-
您也应该发布错误消息。