Skip to content

Fix multi-column indexes in schema dumper#234

Open
ezekg wants to merge 1 commit intoPNixx:masterfrom
keygen-sh:fix/multi-column-indexes
Open

Fix multi-column indexes in schema dumper#234
ezekg wants to merge 1 commit intoPNixx:masterfrom
keygen-sh:fix/multi-column-indexes

Conversation

@ezekg
Copy link

@ezekg ezekg commented Feb 24, 2026

Previously, multi-column and other complex index expressions would execute successfully, but they would not be dumped to the schema file. This resolves that issue by allowing more complex expressions to be used.

add_index :event_logs, "(resource_type, resource_id)", name: "idx_resource", type: "bloom_filter", granularity: 4

Now correctly results in the following being dumped:

t.index "(resource_type, resource_id)", name: "idx_resource", type: "bloom_filter", granularity: 4

Before, nothing was dumped.

@ezekg ezekg force-pushed the fix/multi-column-indexes branch from dd22003 to 8e66991 Compare February 24, 2026 17:43
@ezekg ezekg marked this pull request as draft February 24, 2026 17:45
@ezekg ezekg force-pushed the fix/multi-column-indexes branch from 8e66991 to 65838b4 Compare February 24, 2026 17:50
@ezekg ezekg marked this pull request as ready for review February 24, 2026 17:51
@ezekg ezekg force-pushed the fix/multi-column-indexes branch from 65838b4 to 518babb Compare February 24, 2026 17:52
@ezekg ezekg force-pushed the fix/multi-column-indexes branch from 518babb to 2352ac5 Compare February 24, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant