Controls whether Flyway should output a table with the results of queries when executing migrations.
true
./flyway -outputQueryResults="false" info
flyway.outputQueryResults=false
FLYWAY_OUTPUT_QUERY_RESULTS=false
Flyway.configure()
.outputQueryResults(false)
.load()
flyway {
outputQueryResults = false
}
<configuration>
<outputQueryResults>false</outputQueryResults>
</configuration>
When developing and testing migrations, you often want to do a sanity check to ensure that they behave and return expected values. For example, you may have applied some migrations that insert data. You could then also execute a select query such as:
SELECT * FROM my_table
With outputQueryResults
enabled the result of this SELECT
will be printed for you to inspect and verify before you continue.