-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove legacy "autoReadPattern" slack. #9761
Conversation
Automatic code review is enabled for this repository. I will perform a review of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good and systematically remove the deprecated autoReadChannelPattern functionality across all layers. I've suggested a minor improvement to document the migration file better for future reference. Otherwise, the removal is clean with no remaining references to the old field.
@@ -0,0 +1,2 @@ | |||
-- Migration created on Jan 06, 2025 | |||
ALTER TABLE slack_configurations DROP COLUMN "autoReadChannelPattern"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment explaining that this column was deprecated in favor of autoReadChannelPatterns
for future reference. Something like:
ALTER TABLE slack_configurations DROP COLUMN "autoReadChannelPattern"; | |
-- Migration created on Jan 06, 2025 | |
-- Drop legacy autoReadChannelPattern column which was deprecated in favor of autoReadChannelPatterns | |
ALTER TABLE slack_configurations DROP COLUMN "autoReadChannelPattern"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Follow up of the recent work around adding support for spaces in Slack auto read patterns. This PR removes the deprecated code.
Risk
Deploy Plan