fix: sqlx comments

This commit is contained in:
Zack 2024-06-27 19:03:29 +08:00 committed by GitHub
parent bfa0f32874
commit f3d621de98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,6 @@
ALTER TABLE public.af_published_collab
DROP CONSTRAINT unique_publish_name;
-- Add a new unique constraint for the combination of publish_name and view_id
-- Add a new unique constraint for the combination of publish_name and workspace_id
ALTER TABLE public.af_published_collab
ADD CONSTRAINT unique_workspace_id_publish_name UNIQUE (workspace_id, publish_name);