mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: tokens (#4380)
This commit is contained in:
@ -11,6 +11,9 @@ LIMIT
|
||||
-- name: GetAPIKeysLastUsedAfter :many
|
||||
SELECT * FROM api_keys WHERE last_used > $1;
|
||||
|
||||
-- name: GetAPIKeysByLoginType :many
|
||||
SELECT * FROM api_keys WHERE login_type = $1;
|
||||
|
||||
-- name: InsertAPIKey :one
|
||||
INSERT INTO
|
||||
api_keys (
|
||||
|
Reference in New Issue
Block a user