Skip to content

Don't add comment to removed columns#545

Merged
greg-rychlewski merged 1 commit into
elixir-ecto:masterfrom
greg-rychlewski:remove_column_comment
Jul 30, 2023
Merged

Don't add comment to removed columns#545
greg-rychlewski merged 1 commit into
elixir-ecto:masterfrom
greg-rychlewski:remove_column_comment

Conversation

@greg-rychlewski

@greg-rychlewski greg-rychlewski commented Jul 30, 2023

Copy link
Copy Markdown
Member

Closes #544

edit:

Some things I checked:

  • It's not an issue for MySQL/TDS. MySQL is handling the case already. TDS doesn't seem like it supports comments.
  • remove_if_exists doesn't support opts so don't have to worry about it.
  • it makes sense to allow the comment option for this operation because of the reverse operation

@greg-rychlewski greg-rychlewski merged commit 8450566 into elixir-ecto:master Jul 30, 2023
@greg-rychlewski greg-rychlewski deleted the remove_column_comment branch August 21, 2023 02:41
josevalim pushed a commit that referenced this pull request Aug 21, 2023
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.

:comment option causes an error when migrating remove/3 forward

2 participants