oncall-engine/engine/apps
Vadim Stepanov 381a9ecf54
Delete duplicate direct paging integrations (#3412)
# What this PR does

Deletes duplicate direct paging integrations (i.e. keeps only the first
direct paging integration per team).
Also adds a unique constraint that will make such duplicates impossible
at the DB level.

## Which issue(s) this PR fixes

Related to https://github.com/grafana/oncall-private/issues/2302

## 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] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-11-30 11:19:12 +00:00
..
alerts Delete duplicate direct paging integrations (#3412) 2023-11-30 11:19:12 +00:00
api Delete duplicate direct paging integrations (#3412) 2023-11-30 11:19:12 +00:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Change service account auth to use instance id instead (#3435) 2023-11-28 15:56:29 +00:00
base WIP: Direct paging improvements (#3064) 2023-09-28 03:57:49 +00:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
heartbeat Update transaction.on_commit to use partial instead of lambda (#3448) 2023-11-29 12:01:30 +00:00
integrations Revert "Make alert ingestion cache independent (#3414)" (#3430) 2023-11-27 20:23:57 +08:00
labels Rewrite LabelsAPIClient (#3422) 2023-11-29 08:56:42 +00:00
metrics_exporter Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
mobile_app Fix db migration for mobile app (#3260) 2023-11-02 16:40:26 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
schedules Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
slack Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
social_auth Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
telegram Fix getting alert group from telegram action (#3262) 2023-11-03 10:22:38 +00:00
twilioapp add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
user_management Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
webhooks Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
zvonok add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00