oncall-engine/engine/engine
Joey Orlando 3977c6e9ef
chore: remove references to SlackMessage._channel_id (#5325)
# What this PR does

- As a follow-up to https://github.com/grafana/oncall/pull/5292, and now
that `SlackMessage.channel` has been migrated via
[`engine/apps/slack/migrations/0007_migrate_slackmessage_channel_id.py`](https://github.com/grafana/oncall/pull/5292/files#diff-8aebe133401715a4262baad9b2c5c9fc59367c18d6bd6ac2b3c462fcdabafd66),
this PR removes reads/writes from `SlackMessage._channel_id` to
`SlackMessage.channel`. In a separate PR I will focus on dropping that
column from the model/db.
- Drops `SlackMessage.active_update_task_id`. There're zero references
to this column in the codebase.
- Removes two Django `manage.py` commands that're no longer needed:
- `engine/engine/management/commands/alertmanager_v2_migrate.py` (and
it's associated tests)
-
`engine/engine/management/commands/batch_migrate_slack_message_channel.py`

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-12-06 09:28:26 -05:00
..
management/commands chore: remove references to SlackMessage._channel_id (#5325) 2024-12-06 09:28:26 -05:00
tests Improve performance for deleted integration lookups (#4163) 2024-04-05 16:16:30 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
celery.py Remove kwargs from celery logging (#4316) 2024-05-07 14:29:49 +00:00
included_path.py Add openapi schema generation for internal api (#2771) 2023-08-16 06:13:56 +00:00
integrations_urls.py Add settings to allow detaching integrations server (#3203) 2023-10-26 12:55:02 +00:00
middlewares.py Inbound email better logging (#5271) 2024-11-21 12:39:11 +00:00
schema.py Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
urls.py Rework organization sync and grafana plugin engine backend (#4756) 2024-07-31 16:12:56 +00:00
views.py Improve performance for deleted integration lookups (#4163) 2024-04-05 16:16:30 +00:00
wsgi.py Instrument requests lib (#4008) 2024-03-05 05:22:34 +00:00