SQL Server Data Disable Foreign Keys Setting

Description

Disables then re-enables foreign keys in the deployment script. Note that in some circumstances foreign keys will be dropped and recreated rather than disabled and re-enabled.

Type

Boolean

Default

false

Usage

This setting can't be configured other than in a TOML configuration file.

Flyway Desktop

This can be set from the data comparison options settings in SQL Server projects.

TOML Configuration File

[redgateCompare.sqlserver.data.options.deployment]
disableForeignKeys = true

Didn't find what you were looking for?