ColumnIndexOptions.safe property

Leaves an index that already exists alone rather than rebuilding it.

Signature:

safe: boolean;

Remarks

Turns the pass into CREATE INDEX IF NOT EXISTS with no drop in front of it, so an existing index survives even if its declaration has changed since. The default rebuilds on every sync, which is always correct and always costs a full build.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.