mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-09 03:17:52 +00:00
fix(namespace): add index on promotion_request.target_namespace_id
The existsByTargetNamespaceId query used in namespace deletion dependency checks was missing an index, causing a sequential scan.
This commit is contained in:
parent
8dd1668555
commit
8324f130cd
1 changed files with 1 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
CREATE INDEX idx_promotion_request_target_namespace ON promotion_request(target_namespace_id);
|
||||
Loading…
Add table
Reference in a new issue