Skip to content

[PR-1786] Bugfix - Fix commas in index column list - #161

Open
BBrannick wants to merge 3 commits into
masterfrom
fix-index-gen
Open

[PR-1786] Bugfix - Fix commas in index column list#161
BBrannick wants to merge 3 commits into
masterfrom
fix-index-gen

Conversation

@BBrannick

Copy link
Copy Markdown
Contributor

If an index was generated with multiple columns, the resulting migration incorrectly contained commas within the %i[] block e.g. %i[foo, bar, buzz]
This change removes the comma as well as the quotes when formatting the column list for migration files.

If an index was generated with multiple columns, the resulting migration
incorrectly contained commas within the `%i[]` block e.g. `%i[foo, bar,
buzz]`
This change removes the comma as well as the quotes when formatting the
column list for migration files.
@BBrannick BBrannick added the bug Something isn't working label Aug 20, 2026
@BBrannick
BBrannick marked this pull request as ready for review August 20, 2026 15:55
@BBrannick
BBrannick requested a review from a team August 20, 2026 15:56

@orlylevk orlylevk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Can be folloup PR:
Do we want to add spec covering this?
Also can we include this in the change log?
I am not sure if you want to bundle a few fixed before release

@BBrannick BBrannick changed the title Bugfix - Fix commas in index column list [PR-1786] Bugfix - Fix commas in index column list Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants