implement JWT tokens, regenerate docs and sqlc
This commit is contained in:
+5
-7
@@ -25,13 +25,11 @@ type Artist struct {
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID pgtype.UUID `json:"id"`
|
||||
UserName string `json:"user_name"`
|
||||
UserMail string `json:"user_mail"`
|
||||
Password string `json:"password"`
|
||||
CreatedAt pgtype.Timestamp `json:"created_at"`
|
||||
SessionToken pgtype.Text `json:"session_token"`
|
||||
SessionExpiry pgtype.Timestamp `json:"session_expiry"`
|
||||
ID pgtype.UUID `json:"id"`
|
||||
UserName string `json:"user_name"`
|
||||
UserMail string `json:"user_mail"`
|
||||
Password string `json:"password"`
|
||||
CreatedAt pgtype.Timestamp `json:"created_at"`
|
||||
}
|
||||
|
||||
type UserAlbum struct {
|
||||
|
||||
Reference in New Issue
Block a user