mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-14 05:14:57 +01:00
big format
This commit is contained in:
@@ -20,8 +20,14 @@ export namespace Key {
|
||||
email: AuthTable.subject,
|
||||
})
|
||||
.from(KeyTable)
|
||||
.innerJoin(UserTable, and(eq(KeyTable.userID, UserTable.id), eq(KeyTable.workspaceID, UserTable.workspaceID)))
|
||||
.innerJoin(AuthTable, and(eq(UserTable.accountID, AuthTable.accountID), eq(AuthTable.provider, "email")))
|
||||
.innerJoin(
|
||||
UserTable,
|
||||
and(eq(KeyTable.userID, UserTable.id), eq(KeyTable.workspaceID, UserTable.workspaceID)),
|
||||
)
|
||||
.innerJoin(
|
||||
AuthTable,
|
||||
and(eq(UserTable.accountID, AuthTable.accountID), eq(AuthTable.provider, "email")),
|
||||
)
|
||||
.where(
|
||||
and(
|
||||
...[
|
||||
|
||||
Reference in New Issue
Block a user