chore: remove unused repo func

This commit is contained in:
Henry
2025-04-30 00:03:47 +01:00
parent 88110b0b8f
commit 73d8799c75
2 changed files with 0 additions and 25 deletions

View File

@@ -16,15 +16,6 @@ AS $$
WHERE "listId" = list_id AND index > card_index AND "deletedAt" IS NULL;
$$;
CREATE OR REPLACE FUNCTION push_card_index(list_id BIGINT, card_index INT)
RETURNS VOID
LANGUAGE SQL
AS $$
UPDATE card
SET index = index + 1
WHERE "listId" = list_id AND index >= card_index AND "deletedAt" IS NULL;
$$;
CREATE OR REPLACE FUNCTION is_workspace_admin(user_id UUID, workspace_id BIGINT)
RETURNS BOOLEAN
LANGUAGE SQL