documentation/Reference/Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Generate Drift Resolution Scripts Setting.md
{% include enterprise.html %}
{% include commandlineonly.html %}
When drift is detected and this parameter is set, scripts will be generated to help resolve the drift:
If drift is found and these files are generated, they will be placed in a new folder, drift-resolution, which will be
created in your configured working directory if set, and your
current working directory otherwise.
For more information on resolving drift, see Checking production environments for drift.
Boolean
true
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
"./flyway check -drift -generateDriftResolutionScripts=true"
[flyway.check]
generateDriftResolutionScripts = true