1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 07:33:43 +00:00

clean up pgsql

This commit is contained in:
Kyle Spearrin
2019-09-11 13:44:56 -04:00
parent 5000de6fa8
commit ba6baa3caa
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION user_read_by_id
(
_id uuid
)
RETURNS SETOF "user"
RETURNS SETOF user_view
LANGUAGE 'plpgsql'
AS
$BODY$
@@ -13,8 +13,8 @@ BEGIN
SELECT
*
FROM
"user"
user_view
WHERE
"id" = _id;
id = _id;
END
$BODY$;