oncall-engine/engine/apps/alerts/migrations
Matias Bordese 4d9846eeb4
Clean up reverted migration (#5119)
Related to https://github.com/grafana/oncall/pull/5116

Simplifies the db migration removing the `DeclaredIncident` model + FK
setup but keeping the other changes (adding `severity` field for
escalation policy, and "Declare incident" step, which is disabled). In
this way deployments for which the original migration was run, this
won't be applied and they will be in sync with the migration status
(eventually a manual step may be needed to remove the table and FK,
which won't be used for now).
2024-10-03 16:51:40 +00:00
..
0001_squashed_initial.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0002_squashed_initial.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0003_grafanaalertingcontactpoint_datasource_uid.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0004_auto_20220711_1106.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0005_alertgroup_cached_render_for_web.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0006_alertgroup_alerts_aler_channel_ee84a7_idx.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0007_populate_web_title_cache.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0008_alter_alertgrouplogrecord_type.py Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
0009_alertreceivechannel_web_templates_modified_at.py Cache render_for_web field for alertgroups list serializer (#1236) 2023-01-28 12:50:41 +08:00
0010_channelfilter_filtering_term_type.py Jinja2 based routes (#1319) 2023-03-08 16:42:18 +08:00
0011_auto_20230329_1617.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
0012_alertreceivechannel_description_short.py Add new field description_short to private and public api (#1698) 2023-04-18 04:55:55 +00:00
0012_auto_20230406_1010.py move alert_group.is_restricted to alert_receive_channel.restricted_at (#1770) 2023-04-18 12:02:56 +02:00
0013_merge_20230418_0336.py Add new field description_short to private and public api (#1698) 2023-04-18 04:55:55 +00:00
0014_alertreceivechannel_restricted_at.py move alert_group.is_restricted to alert_receive_channel.restricted_at (#1770) 2023-04-18 12:02:56 +02:00
0015_auto_20230508_1641.py add missing alertgroup db migration (#1894) 2023-05-08 12:51:27 -04:00
0016_auto_20230523_1355.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
0017_alertgroup_is_restricted.py add is_restricted column to alert_group table (#2289) 2023-06-20 06:20:32 -04:00
0018_remove_alertreceivechannel_integration_slack_channel_id.py Remove outdated Slack functionality to create alerts (#2383) 2023-06-29 10:09:02 +00:00
0019_auto_20230705_1619.py add missing database migrations 2023-07-05 18:27:56 +02:00
0020_auto_20230711_1532.py remove deprecated backend code (#2502) 2023-07-12 02:07:45 -04:00
0021_alter_alertgroup_started_at.py add index on started_at column in alert groups (#2516) 2023-07-13 05:22:59 -04:00
0022_alter_alertgroup_manual_severity.py fix migrations that were causing issues (#2581) 2023-07-19 06:20:39 -04:00
0023_auto_20230718_0952.py fix migrations that were causing issues (#2581) 2023-07-19 06:20:39 -04:00
0024_auto_20230718_0953.py Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
0025_auto_20230718_1042.py Fix duplicate orders on routes and escalation policies (#2568) 2023-07-18 17:17:53 +00:00
0026_auto_20230719_1010.py fix migrations that were causing issues (#2581) 2023-07-19 06:20:39 -04:00
0027_remove_alertreceivechannel_restricted_at_from_state.py tweak restricted_at database migration 2023-07-25 14:35:47 +02:00
0028_drop_alertreceivechannel_restricted_at.py drop alert_receive_channel.restricted_at column (#2646) 2023-07-26 12:48:06 +00:00
0029_auto_20230728_0802.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
0030_auto_20230731_0341.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
0031_auto_20230831_1445.py fix IntegrityErrors occuring when creating ResolutionNoteSlackMessage objects (#2933) 2023-09-01 08:14:59 +00:00
0032_remove_alertgroup_slack_message_state.py Refactor AlertGroup.slack_message (#2957) 2023-09-04 18:03:18 +00:00
0033_alertgrouplogrecord_action_source.py Public API: Acknowledge & Resolve actions (#3108) 2023-10-05 09:46:48 +01:00
0034_alter_resolutionnote_source.py Resolution note source mobile app (#3174) 2023-10-20 15:22:45 +01:00
0035_alter_alertreceivechannel_maintenance_author.py add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
0036_alertgroup_grafana_incident_id.py Updates to POST /direct_paging internal API endpoint to support Grafana Incident use-cases (#3232) 2023-11-01 17:19:44 -04:00
0037_remove_alertgroup_is_restricted_state.py remove AlertGroup.is_restricted column (#3256) 2023-11-06 12:48:06 +00:00
0038_remove_alertgroup_is_restricted_db.py remove AlertGroup.is_restricted column (#3287) 2023-11-07 16:58:53 +00:00
0039_remove_alertreceivechannel_unique_integration_name.py Fix deleting integrations with duplicate names (#3397) 2023-11-21 12:44:21 +00:00
0040_alertreceivechannel_alert_group_labels_custom_and_more.py Alert group payload labels (#3434) 2023-11-27 17:53:54 +00:00
0041_alertreceivechannel_unique_direct_paging_integration_per_team.py Delete duplicate direct paging integrations (#3412) 2023-11-30 11:19:12 +00:00
0042_alertgroup_received_at.py Track alert received timestamp on alert group creation (#3513) 2023-12-06 12:20:03 +00:00
0043_remove_alertgroup_alerts_aler_channel_81aeec_idx_and_more.py Modify alert group list index (#3502) 2023-12-06 13:10:56 +00:00
0044_alertreceivechannel_alertmanager_v2_backup_templates_and_more.py Alertmanager V2 migration prep (#3722) 2024-01-23 10:36:58 +00:00
0045_escalationpolicy_notify_to_team_members_and_more.py Add escalation step to notify all members from a team (#3908) 2024-02-20 10:02:23 -03:00
0046_alertreceivechannelconnection.py Backend support for "connected" integrations (#4030) 2024-03-07 17:47:33 +00:00
0047_alertreceivechannel_additional_settings.py Add support for integration additional settings via custom serializer (#4027) 2024-03-07 18:35:11 +00:00
0048_alertgroupexternalid.py SNOW external ID (#4076) 2024-03-20 10:54:27 +00:00
0049_alter_alertgrouplogrecord_action_source.py Update alert group state by backsync (#4089) 2024-03-27 12:37:01 +00:00
0050_alter_alertgrouplogrecord_type.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
0051_remove_escalationpolicy_custom_button_trigger.py cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
0052_alter_channelfilter_filtering_term_type.py Allow routing via labels on the Integration page (#3850) 2024-07-15 07:43:40 +00:00
0053_channelfilter_filtering_labels.py Allow routing via labels on the Integration page (#3850) 2024-07-15 07:43:40 +00:00
0054_usernotificationbundle_bundlednotification_and_more.py User notifications bundle (#4457) 2024-07-16 11:24:08 +00:00
0055_alter_bundlednotification_alert_group.py Fix notification plan builder (#4726) 2024-07-24 15:49:03 +00:00
0056_remove_alertgroup_slack_log_message_state.py remove leftofter/deprecated slack log report tasks (#4858) 2024-08-19 19:10:46 -04:00
0057_remove_alertgroup_slack_log_message_db.py second AlertGroup.slack_log_message migration (#4862) 2024-08-20 11:11:25 +00:00
0058_alter_alertgroup_reason_to_skip_escalation.py Handle Slack invalid_auth error when posting alert group notification (#4970) 2024-09-02 16:37:27 +00:00
0059_escalationpolicy_severity_and_more.py Clean up reverted migration (#5119) 2024-10-03 16:51:40 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00