fix migration (#8451)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2024-02-26 13:50:26 -07:00
committed by GitHub
parent e01a606616
commit bdf59b8f06
@@ -1,3 +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);
CREATE UNIQUE INDEX uix_channels_parent_path_name ON channels(parent_path, name) WHERE (parent_path IS NOT NULL AND parent_path != '');