chatdesk-ui/storage_v1.19.1/migrations/tenant/0028-object-bucket-name-sor...

2 lines
162 B
SQL

-- postgres-migrations disable-transaction
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS idx_name_bucket_unique on storage.objects (name COLLATE "C", bucket_id);