Remove Unused Database Table system_access_instance_microsoft_applications
Background
The system_access_instance_microsoft_applications table was created in milestone 17.5 for Microsoft Azure integration but is no longer needed due to architecture changes.
Table Details
-
Created: Migration
20240829143538_create_system_access_instance_microsoft_applications.rb -
Model:
SystemAccess::InstanceMicrosoftApplication -
Schema:
gitlab_main_cell_local
Tasks
-
Verify table is unused in production (no records, no active integrations) -
Remove model SystemAccess::InstanceMicrosoftApplication(if exists) -
Remove factory: ee/spec/factories/system_access/instance_microsoft_applications.rb -
Remove docs: db/docs/system_access_instance_microsoft_applications.yml -
Update .rubocop_todo/migration/prevent_adding_attr_encrypted_columns.yml -
Update db/post_migrate/20250425082347_fix_seq_ownership_for_build_metadata.rb -
Create drop table migration with safety checks -
Run full test suite
Related Issues
- #463788 (closed) - Set sharding keys for Microsoft applications
- #508117 (closed) - Breakdown DB updates for system_access_group_microsoft_applications
- #571792 - Remove temp_source_id column
Edited by Aboobacker MK