oncall-engine/engine/engine/management/commands
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
..
continue_escalation.py Add a flag to rebuild escalation snapshot when use continue_escalation command (#3293) 2023-11-07 16:23:33 +00:00
create_sqlite_db.py Fix SQLite permission issue (#1984) 2023-05-22 19:16:31 +00:00
remove_field.py Add instruction on removing nullable fields from Django models (#2659) 2023-08-08 12:46:18 +00:00
restart_acknowledge_reminder.py Add command for restarting acknowledge reminder tasks for organization (#3314) 2023-11-10 10:09:20 +00:00
start_celery.py modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
start_telegram_polling.py Telegram long polling (#2250) 2023-08-24 09:12:24 +02:00