Skip to content

Add a failing spec to showcase a bug in migration#248

Open
elthariel wants to merge 2 commits into
PNixx:masterfrom
elthariel:alter_table_integer
Open

Add a failing spec to showcase a bug in migration#248
elthariel wants to merge 2 commits into
PNixx:masterfrom
elthariel:alter_table_integer

Conversation

@elthariel
Copy link
Copy Markdown

The :limit parameter of add_column is ignored when altering tables and adding column in a migration.

I don't know the internal of AR adapters very well (or at all) so I'm not sure how to fix this, but I assumed adding a failing spec was a good basis for discussing the issue.

@elthariel
Copy link
Copy Markdown
Author

elthariel commented Apr 22, 2026

Ended up just using add_column :table, :column, :uint16

This might be the intended usage ?

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