unique channel names (#8439)
Before this change duplicate channels were ordered arbitrarily, which put the collab channel in an inconsistent state. Release Notes: - Fixed duplicate channel names appearing in the collab sidebar.
This commit is contained in:
parent
a44fc24445
commit
f27d59896f
2 changed files with 9 additions and 3 deletions
|
@ -0,0 +1,3 @@
|
|||
-- Add migration script here
|
||||
|
||||
CREATE UNIQUE INDEX uix_channels_parent_path_name ON channels(parent_path, name) WHERE (parent_path IS NOT NULL);
|
Loading…
Add table
Add a link
Reference in a new issue