This commit is contained in:
seb
2026-07-31 00:08:50 +02:00
parent 93e52cd513
commit 6bdac7e543
17 changed files with 520 additions and 24 deletions

6
src/sql/companyuser.js Normal file
View File

@@ -0,0 +1,6 @@
export const GET_BY_EMAIL = `
SELECT cu.id
FROM companyuser cu
INNER JOIN google_auth ga ON ga.id = cu.google_auth_id
WHERE ga.email = @email
`;