Create gitlab_main_jh schema and move jihu-specific tables

What does this MR do and why?

This MR introduces a new database schema named gitlab_main_jh to serve as a dedicated schema for all JiHu-specific tables.

Currently, JiHu-specific tables reside within the gitlab_main schema. This change moves the following tables to the new gitlab_main_jh schema to improve database organization and clearly separate JiHu-only concerns from the core application schema:

  • content_blocked_states
  • dingtalk_tracker_data
  • verification_codes

This logical grouping improves schema clarity and helps manage database sharding efforts by isolating tables that are exempt from sharding.

References

#560435 (closed)

Screenshots or screen recordings

This is a backend database schema change, so there are no UI changes.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chen Zhang

Merge request reports

Loading