-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Revertx4 "ref: replace deprecated index_together with indexes (#64055)" #64158
Conversation
This PR has a migration; here is the generated SQL for --
-- Rename unnamed index for ('project', 'datetime') on activity to sentry_acti_project_cd8457_idx
--
ALTER INDEX "sentry_activity_project_id_datetime_c00585e4_idx" RENAME TO "sentry_acti_project_cd8457_idx";
--
-- Rename unnamed index for ('url', 'artifact_bundle') on artifactbundleindex to sentry_arti_url_7e628a_idx
--
ALTER INDEX "sentry_artifactbundleindex_url_artifact_bundle_id_39528bd6_idx" RENAME TO "sentry_arti_url_7e628a_idx";
--
-- Rename unnamed index for ('repository_id', 'date_added') on commit to sentry_comm_reposit_da31f2_idx
--
ALTER INDEX "sentry_commit_repository_id_date_added_506000b5_idx" RENAME TO "sentry_comm_reposit_da31f2_idx";
--
-- Rename unnamed index for ('author', 'date_added') on commit to sentry_comm_author__131211_idx
--
ALTER INDEX "sentry_commit_author_id_date_added_67da210a_idx" RENAME TO "sentry_comm_author__131211_idx";
--
-- Rename unnamed index for ('organization_id', 'date_added') on commit to sentry_comm_organiz_7be514_idx
--
ALTER INDEX "sentry_commit_organization_id_date_added_ab037274_idx" RENAME TO "sentry_comm_organiz_7be514_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'category', 'object_identifier') on controloutbox to sentry_cont_region__1c1c72_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__db82084e_idx" RENAME TO "sentry_cont_region__1c1c72_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'scheduled_for') on controloutbox to sentry_cont_region__0c4512_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__3ab080ca_idx" RENAME TO "sentry_cont_region__0c4512_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'id') on controloutbox to sentry_cont_region__a95d82_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__4e3255a0_idx" RENAME TO "sentry_cont_region__a95d82_idx";
--
-- Rename unnamed index for ('debug_id', 'artifact_bundle') on debugidartifactbundle to sentry_debu_debug_i_8c6c44_idx
--
ALTER INDEX "sentry_debugidartifactbu_debug_id_artifact_bundle_edc164fe_idx" RENAME TO "sentry_debu_debug_i_8c6c44_idx";
--
-- Rename unnamed index for ('project_id', 'date_added') on eventattachment to sentry_even_project_62b83b_idx
--
ALTER INDEX "sentry_eventattachment_project_id_date_added_750bbee8_idx" RENAME TO "sentry_even_project_62b83b_idx";
--
-- Rename unnamed index for ('project_id', 'event_id') on eventattachment to sentry_even_project_974f7b_idx
--
ALTER INDEX "sentry_eventattachment_project_id_event_id_fbb6a77a_idx" RENAME TO "sentry_even_project_974f7b_idx";
--
-- Rename unnamed index for ('project', 'status', 'type', 'last_seen', 'id') on group to sentry_grou_project_17d28d_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_type_status_l_074196b6_idx" RENAME TO "sentry_grou_project_17d28d_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'type', 'last_seen', 'id') on group to sentry_grou_project_ff3fdf_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_c95bb62c_idx" RENAME TO "sentry_grou_project_ff3fdf_idx";
--
-- Rename unnamed index for ('status', 'substatus', 'first_seen') on group to sentry_grou_status_e07f40_idx
--
ALTER INDEX "sentry_groupedmessage_status_substatus_first_seen_99773cf6_idx" RENAME TO "sentry_grou_status_e07f40_idx";
--
-- Rename unnamed index for ('project', 'status', 'last_seen', 'id') on group to sentry_grou_project_81a5ed_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_last_s_6b8195a7_idx" RENAME TO "sentry_grou_project_81a5ed_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'id') on group to sentry_grou_project_5acaf7_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_78b9cc1c_idx" RENAME TO "sentry_grou_project_5acaf7_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'last_seen', 'id') on group to sentry_grou_project_5eb75b_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_fbe106b6_idx" RENAME TO "sentry_grou_project_5eb75b_idx";
--
-- Rename unnamed index for ('status', 'substatus', 'id') on group to sentry_grou_status_48b516_idx
--
ALTER INDEX "sentry_groupedmessage_status_substatus_id_e00e92ae_idx" RENAME TO "sentry_grou_status_48b516_idx";
--
-- Rename unnamed index for ('project', 'first_release') on group to sentry_grou_project_4662d9_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_first_release_id_7f8c0ae5_idx" RENAME TO "sentry_grou_project_4662d9_idx";
--
-- Rename unnamed index for ('project', 'id') on group to sentry_grou_project_41a5ce_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_id_515aaa7e_idx" RENAME TO "sentry_grou_project_41a5ce_idx";
--
-- Rename unnamed index for ('environment', 'first_release', 'first_seen') on groupenvironment to sentry_grou_environ_443bdb_idx
--
ALTER INDEX "sentry_groupenvironment_environment_id_first_rel_9a1a5cd4_idx" RENAME TO "sentry_grou_environ_443bdb_idx";
--
-- Rename unnamed index for ('project', 'status', 'release') on grouphistory to sentry_grou_project_bbcf30_idx
--
ALTER INDEX "sentry_grouphistory_project_id_status_release_id_dbbe6354_idx" RENAME TO "sentry_grou_project_bbcf30_idx";
--
-- Rename unnamed index for ('group', 'status') on grouphistory to sentry_grou_group_i_c61acb_idx
--
ALTER INDEX "sentry_grouphistory_group_id_status_7ae79a2b_idx" RENAME TO "sentry_grou_group_i_c61acb_idx";
--
-- Rename unnamed index for ('project', 'date_added') on grouphistory to sentry_grou_project_20b3f8_idx
--
ALTER INDEX "sentry_grouphistory_project_id_date_added_7e6f676f_idx" RENAME TO "sentry_grou_project_20b3f8_idx";
--
-- Rename unnamed index for ('project', 'date_added') on groupinbox to sentry_grou_project_a9fe16_idx
--
ALTER INDEX "sentry_groupinbox_project_id_date_added_fd440409_idx" RENAME TO "sentry_grou_project_a9fe16_idx";
--
-- Rename unnamed index for ('group_id', 'first_seen') on grouprelease to sentry_grou_group_i_6eaff8_idx
--
ALTER INDEX "sentry_grouprelease_group_id_first_seen_53fc35ds" RENAME TO "sentry_grou_group_i_6eaff8_idx";
--
-- Rename unnamed index for ('group_id', 'last_seen') on grouprelease to sentry_grou_group_i_f10abe_idx
--
ALTER INDEX "sentry_grouprelease_group_id_last_seen_g8v2sk7c" RENAME TO "sentry_grou_group_i_f10abe_idx";
--
-- Rename unnamed index for ('alert_rule', 'type', 'status') on incident to sentry_inci_alert_r_24a457_idx
--
ALTER INDEX "sentry_incident_alert_rule_id_type_status_cfc6291a_idx" RENAME TO "sentry_inci_alert_r_24a457_idx";
--
-- Rename unnamed index for ('alert_rule_trigger', 'incident_id') on incidenttrigger to sentry_inci_alert_r_33da01_idx
--
ALTER INDEX "sentry_incidenttrigger_alert_rule_trigger_id_in_e98fd1e3_idx" RENAME TO "sentry_inci_alert_r_33da01_idx";
--
-- Rename unnamed index for ('organization_id', 'user') on organizationmembermapping to sentry_orga_organiz_ae9fe7_idx
--
ALTER INDEX "sentry_organizationmembe_organization_id_user_id_feb6bdf0_idx" RENAME TO "sentry_orga_organiz_ae9fe7_idx";
--
-- Rename unnamed index for ('organization_id', 'email') on organizationmembermapping to sentry_orga_organiz_7de26b_idx
--
ALTER INDEX "sentry_organizationmembe_organization_id_email_66a560fc_idx" RENAME TO "sentry_orga_organiz_7de26b_idx";
--
-- Rename unnamed index for ('project_id', 'artifact_bundle') on projectartifactbundle to sentry_proj_project_f73d36_idx
--
ALTER INDEX "sentry_projectartifactbu_project_id_artifact_bund_b374329e_idx" RENAME TO "sentry_proj_project_f73d36_idx";
--
-- Rename unnamed index for ('project_id', 'code_id') on projectdebugfile to sentry_proj_project_9b5950_idx
--
ALTER INDEX "sentry_projectdsymfile_project_id_code_id_8f1678d3_idx" RENAME TO "sentry_proj_project_9b5950_idx";
--
-- Rename unnamed index for ('project_id', 'debug_id') on projectdebugfile to sentry_proj_project_c586ac_idx
--
ALTER INDEX "sentry_projectdsymfile_project_id_uuid_b95b851b_idx" RENAME TO "sentry_proj_project_c586ac_idx";
--
-- Rename unnamed index for ('organization_id', 'merge_commit_sha') on pullrequest to sentry_pull_organiz_8aabcf_idx
--
ALTER INDEX "sentry_pull_request_organization_id_merge_co_b0cd1b4e_idx" RENAME TO "sentry_pull_organiz_8aabcf_idx";
--
-- Rename unnamed index for ('repository_id', 'date_added') on pullrequest to sentry_pull_reposit_c429a4_idx
--
ALTER INDEX "sentry_pull_request_repository_id_date_added_aef4d968_idx" RENAME TO "sentry_pull_reposit_c429a4_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'category', 'object_identifier') on regionoutbox to sentry_regi_shard_s_bfff84_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_80a8a166_idx" RENAME TO "sentry_regi_shard_s_bfff84_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'scheduled_for') on regionoutbox to sentry_regi_shard_s_cd9995_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_bc439563_idx" RENAME TO "sentry_regi_shard_s_cd9995_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'id') on regionoutbox to sentry_regi_shard_s_e7412f_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_ec4e1f4f_idx" RENAME TO "sentry_regi_shard_s_e7412f_idx";
--
-- Rename unnamed index for ('type', 'project_id', 'fingerprint', 'active') on regressiongroup to sentry_regr_type_3a29e7_idx
--
ALTER INDEX "sentry_regressiongroup_type_project_id_fingerpr_4004f756_idx" RENAME TO "sentry_regr_type_3a29e7_idx";
--
-- Rename unnamed index for ('organization_id', 'release_name', 'dist_name', 'artifact_bundle') on releaseartifactbundle to sentry_rele_organiz_291018_idx
--
ALTER INDEX "sentry_releaseartifactbu_organization_id_release__a6b32419_idx" RENAME TO "sentry_rele_organiz_291018_idx";
--
-- Rename unnamed index for ('release_id', 'name') on releasefile to sentry_rele_release_bff97c_idx
--
ALTER INDEX "sentry_releasefile_release_id_name_6026cf06_idx" RENAME TO "sentry_rele_release_bff97c_idx";
--
-- Rename unnamed index for ('project', 'adopted', 'environment') on releaseprojectenvironment to sentry_rele_project_4bea8e_idx
--
ALTER INDEX "sentry_releaseprojectenvironment_proj_id_env_id_adopted_j6h89s3" RENAME TO "sentry_rele_project_4bea8e_idx";
--
-- Rename unnamed index for ('project', 'unadopted', 'environment') on releaseprojectenvironment to sentry_rele_project_922a6a_idx
--
ALTER INDEX "sentry_releaseprojectenvironment_proj_id_env_id_unadopted_kyh5m" RENAME TO "sentry_rele_project_922a6a_idx";
--
-- Rename unnamed index for ('project', 'status', 'owner') on rule to sentry_rule_project_676d0d_idx
--
ALTER INDEX "sentry_rule_project_id_status_owner_id_82f20db5_idx" RENAME TO "sentry_rule_project_676d0d_idx";
--
-- Rename unnamed index for ('project_id', 'event_id') on userreport to sentry_user_project_cbfd59_idx
--
ALTER INDEX "sentry_userreport_project_id_event_id_17036863_idx" RENAME TO "sentry_user_project_cbfd59_idx";
--
-- Rename unnamed index for ('project_id', 'date_added') on userreport to sentry_user_project_b8faaf_idx
--
ALTER INDEX "sentry_userreport_project_id_date_added_3c4bcac4_idx" RENAME TO "sentry_user_project_b8faaf_idx"; |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #64158 +/- ##
=======================================
Coverage 81.27% 81.27%
=======================================
Files 5234 5236 +2
Lines 230497 230509 +12
Branches 45210 45212 +2
=======================================
+ Hits 187335 187349 +14
+ Misses 37323 37321 -2
Partials 5839 5839
|
("sentry", "0638_add_date_added_to_dashboard_widget_on_demand"), | ||
] | ||
|
||
operations = [ |
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.
What was the reason to rename the indexes ?
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.
Django is just doing it because we changed how we're defining the indexes. It's not required those imo - we could just mark this migration as dangerous and never run it if it's a huge pain.
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 change is uncovering a lot of missed past dangerous migrations -- I think getting those applied is probably for the best anyway so things are more consistent 🤷
80e54b5
to
ca541a2
Compare
This PR has a migration; here is the generated SQL for --
-- Rename unnamed index for ('project', 'datetime') on activity to sentry_acti_project_cd8457_idx
--
ALTER INDEX "sentry_activity_project_id_datetime_c00585e4_idx" RENAME TO "sentry_acti_project_cd8457_idx";
--
-- Rename unnamed index for ('url', 'artifact_bundle') on artifactbundleindex to sentry_arti_url_7e628a_idx
--
ALTER INDEX "sentry_artifactbundleindex_url_artifact_bundle_id_39528bd6_idx" RENAME TO "sentry_arti_url_7e628a_idx";
--
-- Rename unnamed index for ('repository_id', 'date_added') on commit to sentry_comm_reposit_da31f2_idx
--
ALTER INDEX "sentry_commit_repository_id_date_added_506000b5_idx" RENAME TO "sentry_comm_reposit_da31f2_idx";
--
-- Rename unnamed index for ('author', 'date_added') on commit to sentry_comm_author__131211_idx
--
ALTER INDEX "sentry_commit_author_id_date_added_67da210a_idx" RENAME TO "sentry_comm_author__131211_idx";
--
-- Rename unnamed index for ('organization_id', 'date_added') on commit to sentry_comm_organiz_7be514_idx
--
ALTER INDEX "sentry_commit_organization_id_date_added_ab037274_idx" RENAME TO "sentry_comm_organiz_7be514_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'scheduled_for') on controloutbox to sentry_cont_region__0c4512_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__3ab080ca_idx" RENAME TO "sentry_cont_region__0c4512_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'id') on controloutbox to sentry_cont_region__a95d82_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__4e3255a0_idx" RENAME TO "sentry_cont_region__a95d82_idx";
--
-- Rename unnamed index for ('region_name', 'shard_scope', 'shard_identifier', 'category', 'object_identifier') on controloutbox to sentry_cont_region__1c1c72_idx
--
ALTER INDEX "sentry_controloutbox_region_name_shard_scope__db82084e_idx" RENAME TO "sentry_cont_region__1c1c72_idx";
--
-- Rename unnamed index for ('debug_id', 'artifact_bundle') on debugidartifactbundle to sentry_debu_debug_i_8c6c44_idx
--
ALTER INDEX "sentry_debugidartifactbu_debug_id_artifact_bundle_edc164fe_idx" RENAME TO "sentry_debu_debug_i_8c6c44_idx";
--
-- Rename unnamed index for ('project_id', 'date_added') on eventattachment to sentry_even_project_62b83b_idx
--
ALTER INDEX "sentry_eventattachment_project_id_date_added_750bbee8_idx" RENAME TO "sentry_even_project_62b83b_idx";
--
-- Rename unnamed index for ('project_id', 'event_id') on eventattachment to sentry_even_project_974f7b_idx
--
ALTER INDEX "sentry_eventattachment_project_id_event_id_fbb6a77a_idx" RENAME TO "sentry_even_project_974f7b_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'last_seen', 'id') on group to sentry_grou_project_5eb75b_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_fbe106b6_idx" RENAME TO "sentry_grou_project_5eb75b_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'id') on group to sentry_grou_project_5acaf7_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_78b9cc1c_idx" RENAME TO "sentry_grou_project_5acaf7_idx";
--
-- Rename unnamed index for ('project', 'status', 'substatus', 'type', 'last_seen', 'id') on group to sentry_grou_project_ff3fdf_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_substa_c95bb62c_idx" RENAME TO "sentry_grou_project_ff3fdf_idx";
--
-- Rename unnamed index for ('status', 'substatus', 'id') on group to sentry_grou_status_48b516_idx
--
ALTER INDEX "sentry_groupedmessage_status_substatus_id_e00e92ae_idx" RENAME TO "sentry_grou_status_48b516_idx";
--
-- Rename unnamed index for ('status', 'substatus', 'first_seen') on group to sentry_grou_status_e07f40_idx
--
ALTER INDEX "sentry_groupedmessage_status_substatus_first_seen_99773cf6_idx" RENAME TO "sentry_grou_status_e07f40_idx";
--
-- Rename unnamed index for ('project', 'first_release') on group to sentry_grou_project_4662d9_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_first_release_id_7f8c0ae5_idx" RENAME TO "sentry_grou_project_4662d9_idx";
--
-- Rename unnamed index for ('project', 'status', 'last_seen', 'id') on group to sentry_grou_project_81a5ed_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_status_last_s_6b8195a7_idx" RENAME TO "sentry_grou_project_81a5ed_idx";
--
-- Rename unnamed index for ('project', 'id') on group to sentry_grou_project_41a5ce_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_id_515aaa7e_idx" RENAME TO "sentry_grou_project_41a5ce_idx";
--
-- Rename unnamed index for ('project', 'status', 'type', 'last_seen', 'id') on group to sentry_grou_project_17d28d_idx
--
ALTER INDEX "sentry_groupedmessage_project_id_type_status_l_074196b6_idx" RENAME TO "sentry_grou_project_17d28d_idx";
--
-- Rename unnamed index for ('environment', 'first_release', 'first_seen') on groupenvironment to sentry_grou_environ_443bdb_idx
--
ALTER INDEX "sentry_groupenvironment_environment_id_first_rel_9a1a5cd4_idx" RENAME TO "sentry_grou_environ_443bdb_idx";
--
-- Rename unnamed index for ('project', 'status', 'release') on grouphistory to sentry_grou_project_bbcf30_idx
--
ALTER INDEX "sentry_grouphistory_project_id_status_release_id_dbbe6354_idx" RENAME TO "sentry_grou_project_bbcf30_idx";
--
-- Rename unnamed index for ('group', 'status') on grouphistory to sentry_grou_group_i_c61acb_idx
--
ALTER INDEX "sentry_grouphistory_group_id_status_7ae79a2b_idx" RENAME TO "sentry_grou_group_i_c61acb_idx";
--
-- Rename unnamed index for ('project', 'date_added') on grouphistory to sentry_grou_project_20b3f8_idx
--
ALTER INDEX "sentry_grouphistory_project_id_date_added_7e6f676f_idx" RENAME TO "sentry_grou_project_20b3f8_idx";
--
-- Rename unnamed index for ('project', 'date_added') on groupinbox to sentry_grou_project_a9fe16_idx
--
ALTER INDEX "sentry_groupinbox_project_id_date_added_fd440409_idx" RENAME TO "sentry_grou_project_a9fe16_idx";
--
-- Rename unnamed index for ('group_id', 'first_seen') on grouprelease to sentry_grou_group_i_6eaff8_idx
--
ALTER INDEX "sentry_grouprelease_group_id_first_seen_53fc35ds" RENAME TO "sentry_grou_group_i_6eaff8_idx";
--
-- Rename unnamed index for ('group_id', 'last_seen') on grouprelease to sentry_grou_group_i_f10abe_idx
--
ALTER INDEX "sentry_grouprelease_group_id_last_seen_g8v2sk7c" RENAME TO "sentry_grou_group_i_f10abe_idx";
--
-- Rename unnamed index for ('alert_rule', 'type', 'status') on incident to sentry_inci_alert_r_24a457_idx
--
ALTER INDEX "sentry_incident_alert_rule_id_type_status_cfc6291a_idx" RENAME TO "sentry_inci_alert_r_24a457_idx";
--
-- Rename unnamed index for ('alert_rule_trigger', 'incident_id') on incidenttrigger to sentry_inci_alert_r_33da01_idx
--
ALTER INDEX "sentry_incidenttrigger_alert_rule_trigger_id_in_e98fd1e3_idx" RENAME TO "sentry_inci_alert_r_33da01_idx";
--
-- Rename unnamed index for ('organization_id', 'user') on organizationmembermapping to sentry_orga_organiz_ae9fe7_idx
--
ALTER INDEX "sentry_organizationmembe_organization_id_user_id_feb6bdf0_idx" RENAME TO "sentry_orga_organiz_ae9fe7_idx";
--
-- Rename unnamed index for ('organization_id', 'email') on organizationmembermapping to sentry_orga_organiz_7de26b_idx
--
ALTER INDEX "sentry_organizationmembe_organization_id_email_66a560fc_idx" RENAME TO "sentry_orga_organiz_7de26b_idx";
--
-- Rename unnamed index for ('project_id', 'artifact_bundle') on projectartifactbundle to sentry_proj_project_f73d36_idx
--
ALTER INDEX "sentry_projectartifactbu_project_id_artifact_bund_b374329e_idx" RENAME TO "sentry_proj_project_f73d36_idx";
--
-- Rename unnamed index for ('project_id', 'debug_id') on projectdebugfile to sentry_proj_project_c586ac_idx
--
ALTER INDEX "sentry_projectdsymfile_project_id_uuid_b95b851b_idx" RENAME TO "sentry_proj_project_c586ac_idx";
--
-- Rename unnamed index for ('project_id', 'code_id') on projectdebugfile to sentry_proj_project_9b5950_idx
--
ALTER INDEX "sentry_projectdsymfile_project_id_code_id_8f1678d3_idx" RENAME TO "sentry_proj_project_9b5950_idx";
--
-- Rename unnamed index for ('repository_id', 'date_added') on pullrequest to sentry_pull_reposit_c429a4_idx
--
ALTER INDEX "sentry_pull_request_repository_id_date_added_aef4d968_idx" RENAME TO "sentry_pull_reposit_c429a4_idx";
--
-- Rename unnamed index for ('organization_id', 'merge_commit_sha') on pullrequest to sentry_pull_organiz_8aabcf_idx
--
ALTER INDEX "sentry_pull_request_organization_id_merge_co_b0cd1b4e_idx" RENAME TO "sentry_pull_organiz_8aabcf_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'id') on regionoutbox to sentry_regi_shard_s_e7412f_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_ec4e1f4f_idx" RENAME TO "sentry_regi_shard_s_e7412f_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'category', 'object_identifier') on regionoutbox to sentry_regi_shard_s_bfff84_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_80a8a166_idx" RENAME TO "sentry_regi_shard_s_bfff84_idx";
--
-- Rename unnamed index for ('shard_scope', 'shard_identifier', 'scheduled_for') on regionoutbox to sentry_regi_shard_s_cd9995_idx
--
ALTER INDEX "sentry_regionoutbox_shard_scope_shard_identi_bc439563_idx" RENAME TO "sentry_regi_shard_s_cd9995_idx";
--
-- Rename unnamed index for ('type', 'project_id', 'fingerprint', 'active') on regressiongroup to sentry_regr_type_3a29e7_idx
--
ALTER INDEX "sentry_regressiongroup_type_project_id_fingerpr_4004f756_idx" RENAME TO "sentry_regr_type_3a29e7_idx";
--
-- Rename unnamed index for ('organization_id', 'release_name', 'dist_name', 'artifact_bundle') on releaseartifactbundle to sentry_rele_organiz_291018_idx
--
ALTER INDEX "sentry_releaseartifactbu_organization_id_release__a6b32419_idx" RENAME TO "sentry_rele_organiz_291018_idx";
--
-- Rename unnamed index for ('release_id', 'name') on releasefile to sentry_rele_release_bff97c_idx
--
ALTER INDEX "sentry_releasefile_release_id_name_6026cf06_idx" RENAME TO "sentry_rele_release_bff97c_idx";
--
-- Rename unnamed index for ('project', 'unadopted', 'environment') on releaseprojectenvironment to sentry_rele_project_922a6a_idx
--
ALTER INDEX "sentry_releaseprojectenvironment_proj_id_env_id_unadopted_kyh5m" RENAME TO "sentry_rele_project_922a6a_idx";
--
-- Rename unnamed index for ('project', 'adopted', 'environment') on releaseprojectenvironment to sentry_rele_project_4bea8e_idx
--
ALTER INDEX "sentry_releaseprojectenvironment_proj_id_env_id_adopted_j6h89s3" RENAME TO "sentry_rele_project_4bea8e_idx";
--
-- Rename unnamed index for ('project', 'status', 'owner') on rule to sentry_rule_project_676d0d_idx
--
ALTER INDEX "sentry_rule_project_id_status_owner_id_82f20db5_idx" RENAME TO "sentry_rule_project_676d0d_idx";
--
-- Rename unnamed index for ('project_id', 'date_added') on userreport to sentry_user_project_b8faaf_idx
--
ALTER INDEX "sentry_userreport_project_id_date_added_3c4bcac4_idx" RENAME TO "sentry_user_project_b8faaf_idx";
--
-- Rename unnamed index for ('project_id', 'event_id') on userreport to sentry_user_project_cbfd59_idx
--
ALTER INDEX "sentry_userreport_project_id_event_id_17036863_idx" RENAME TO "sentry_user_project_cbfd59_idx"; |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
I've run the next missing dangerous migration in STs and will try again
This reverts commit 782ec4c.