From 33baab16bb22648cb6d0e8d768f7b6398248c656 Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Fri, 25 Oct 2024 10:07:06 -0400 Subject: [PATCH] #85 - Fixing spacing in migration --- .../20241024105310_add_sort_to_project_documents.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/supabase/migrations/20241024105310_add_sort_to_project_documents.sql b/supabase/migrations/20241024105310_add_sort_to_project_documents.sql index 1088749..52f3048 100644 --- a/supabase/migrations/20241024105310_add_sort_to_project_documents.sql +++ b/supabase/migrations/20241024105310_add_sort_to_project_documents.sql @@ -20,9 +20,9 @@ BEGIN LOOP UPDATE public.project_documents pd - SET sort = _current_index - WHERE pd.document_id = _document_id - AND pd.project_id = _project_id; + SET sort = _current_index + WHERE pd.document_id = _document_id + AND pd.project_id = _project_id; _current_index := _current_index + 1;