We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb953e4 commit 55b93e7Copy full SHA for 55b93e7
coderd/database/queries/gitauth.sql
@@ -11,9 +11,9 @@ INSERT INTO git_auth_links (
11
created_at,
12
updated_at,
13
oauth_access_token,
14
- oauth_access_token_key_id,
+ oauth_access_token_key_id,
15
oauth_refresh_token,
16
- oauth_refresh_token_key_id,
+ oauth_refresh_token_key_id,
17
oauth_expiry
18
) VALUES (
19
$1,
@@ -23,16 +23,16 @@ INSERT INTO git_auth_links (
23
$5,
24
$6,
25
$7,
26
- $8,
27
- $9
+ $8,
+ $9
28
) RETURNING *;
29
30
-- name: UpdateGitAuthLink :one
31
UPDATE git_auth_links SET
32
updated_at = $3,
33
oauth_access_token = $4,
34
- oauth_access_token_key_id = $5,
+ oauth_access_token_key_id = $5,
35
oauth_refresh_token = $6,
36
- oauth_refresh_token_key_id = $7,
+ oauth_refresh_token_key_id = $7,
37
oauth_expiry = $8
38
WHERE provider_id = $1 AND user_id = $2 RETURNING *;
0 commit comments