mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
6 lines
249 B
SQL
6 lines
249 B
SQL
-- Add a unique constraint on publish_name
|
|
ALTER TABLE public.af_published_collab
|
|
ADD CONSTRAINT unique_publish_name UNIQUE (publish_name);
|
|
|
|
-- Add an index on publish_name
|
|
CREATE INDEX idx_publish_name ON public.af_published_collab (publish_name);
|