Flyway CLI 10.0.0 info, validate, migrate ignore -reportFilename
TriNguyen
Posts: 1 New member
Using flyway 10.0.0 Community edition
A flyway.conf has been generated as
When running commands such as `flyway info` , `flyway validate`, `flyway migrate` the console no longer output a line like in prior version.
A flyway.conf has been generated as
cat > ./flyway.conf << EOF
flyway.user=${FLYWAY_USER}
flyway.url=jdbc:postgresql://${FLYWAY_HOST_FQDN}:5432/${FLYWAY_DBNAME}?sslmode=require
flyway.password=${FLYWAY_ADMIN_PWD}
flyway.schemas=${FLYWAY_DBNAME}
flyway.locations=filesystem:./sql
flyway.reportFilename=flyway_report.html
EOF
> A Flyway report has been generated here: /myProject/report.html
When I used Flyway 9.22.3, I didn't specify any `-reportFilename` parameter. The report.html as generated when running flyway info.
When I used Flyway 9.22.3, I didn't specify any `-reportFilename` parameter. The report.html as generated when running flyway info.
In the new version 10.0.0, there is no report, whether the `-reportFilename` parameter is skipped, passed as cmdline argument, or in flyway.conf file.
Answers
Please can you check if reports are enabled?
https://documentation.red-gate.com/flyway/flyway-cli-and-api/configuration/parameters/flyway/report-enabled
Originally they were on by default, this feature has been switched to be opt-in.