SQL Server Ignore Indexes Setting

Description

Ignores indexes, unique constraints and primary keys when comparing and deploying databases.

In the case of memory-optimized tables or script folder targets, index differences will still be deployed if there are other differences between the tables.

Type

Boolean

Default

false

Usage

Flyway Desktop

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

Command-line

./flyway diff -redgateCompare.sqlserver.options.ignores.ignoreIndexes=true

TOML Configuration File

[redgateCompare.sqlserver.options.ignores]
ignoreIndexes = true

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?