regen with sqlc 1.6.0
This commit is contained in:
parent
e5ad1e3fb3
commit
dde07cb315
@ -5,6 +5,7 @@ package db
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
@ -22,7 +23,7 @@ RETURNING user_id, created_at, first_name, last_name, username, email, token, to
|
||||
`
|
||||
|
||||
type AuthUserParams struct {
|
||||
Crypt interface{} `json:"crypt"`
|
||||
Crypt string `json:"crypt"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
@ -309,13 +310,13 @@ WHERE user_id = $1 and
|
||||
|
||||
type SimilarEntriesParams struct {
|
||||
UserID int64 `json:"user_id"`
|
||||
Similarity interface{} `json:"similarity"`
|
||||
Similarity string `json:"similarity"`
|
||||
}
|
||||
|
||||
type SimilarEntriesRow struct {
|
||||
EntryID uuid.UUID `json:"entry_id"`
|
||||
Similarity interface{} `json:"similarity"`
|
||||
Headline interface{} `json:"headline"`
|
||||
Similarity float32 `json:"similarity"`
|
||||
Headline json.RawMessage `json:"headline"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user