Clean Provisioner
Published 16 January 2024
Clean Provisioner
This provisioner allows for re-provisioning of databases using clean. It is used as the default mechanism in Flyway Desktop for resetting the shadow database whenever the state is stale.
This affects re-provisioning only, and has no effect on provisioning. It can only be used with pre-existing databases.
To configure this provisioner, set the value of the provisioner parameter to clean
Example
This can be used in the TOML configuration like this:
[environments.shadow]
url = "jdbc:sqlserver://localhost:1433;database=Shadow;encrypt=true;integratedSecurity=true"
provisioner = "clean"