Fix slow query for fetching descendants of channels (#7008)
Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
1313402a6b
commit
c008c78e87
3 changed files with 37 additions and 69 deletions
|
@ -0,0 +1,4 @@
|
|||
-- Add migration script here
|
||||
|
||||
DROP INDEX index_channels_on_parent_path;
|
||||
CREATE INDEX index_channels_on_parent_path ON channels (parent_path text_pattern_ops);
|
Loading…
Add table
Add a link
Reference in a new issue