Tweaks for the desktop client

This commit is contained in:
2024-08-09 17:02:02 +03:00
parent 8eb5be96b3
commit 1c9bd104e0
33 changed files with 217 additions and 144 deletions

View File

@ -1,3 +1 @@
INSERT INTO folders(parent_folder_id, owner_id, folder_name)
SELECT $1, owner_id, $2 FROM folders WHERE parent_folder_id = $1
RETURNING folder_id
INSERT INTO folders(parent_folder_id, owner_id, folder_name, folder_id) VALUES ($1, $2, $3, $4)

View File

@ -1,5 +1,5 @@
SELECT
username,
users.user_id,
permission_type as "permission_type: PermissionRaw"
FROM
permissions

View File

@ -8,7 +8,7 @@ WITH
user_id = $1
)
SELECT
folder_id
folder_id, owner_id, folder_name, created_at
FROM
folders
WHERE

View File

@ -7,4 +7,5 @@ SELECT
FROM
users
ORDER BY
"similarity!" DESC
"similarity!" DESC
LIMIT 20