Flyway SQL Server Clean Schemas Exclude Setting
Published 15 January 2025
Description
An array of schemas to exclude when
flyway.sqlserver.clean.mode is set to
all.
These schemas won't be dropped or cleaned in schema or all mode.
Type
String array
Default
[]
Usage
Flyway Desktop
This can't be configured via Flyway Desktop, although it will be honoured.
TOML Configuration File
[flyway.sqlserver.clean]
mode = "all"
schemas.exclude = [ "schema1", "schema2" ]
Configuration File
flyway.sqlserver.clean.mode=all
flyway.sqlserver.clean.schemas.exclude=schema1,schema2
This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved