Updated sqlc to have user refresh token list query.

This commit is contained in:
2026-04-29 08:13:03 +02:00
parent 1acc9da792
commit 05bb6b7a79
3 changed files with 36 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ type Querier interface {
GetRefreshToken(ctx context.Context, tokenHash string) (RefreshToken, error)
GetUserByEmail(ctx context.Context, dollar_1 string) (User, error)
GetUserById(ctx context.Context, id int64) (User, error)
GetUserRefreshTokens(ctx context.Context, userID int64) ([]RefreshToken, error)
ListUsers(ctx context.Context) ([]User, error)
UpdateUser(ctx context.Context, arg UpdateUserParams) error
}