regenerate sqlc
This commit is contained in:
+14
-11
@@ -25,18 +25,21 @@ 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"`
|
||||
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"`
|
||||
}
|
||||
|
||||
type UserAlbum struct {
|
||||
UserID pgtype.UUID `json:"user_id"`
|
||||
AlbumID pgtype.UUID `json:"album_id"`
|
||||
AlbumOwned bool `json:"album_owned"`
|
||||
AlbumWant bool `json:"album_want"`
|
||||
IsVinyl bool `json:"is_vinyl"`
|
||||
IsCd bool `json:"is_cd"`
|
||||
UserID pgtype.UUID `json:"user_id"`
|
||||
AlbumID pgtype.UUID `json:"album_id"`
|
||||
DateAdded pgtype.Timestamp `json:"date_added"`
|
||||
AlbumOwned bool `json:"album_owned"`
|
||||
AlbumWant bool `json:"album_want"`
|
||||
IsVinyl bool `json:"is_vinyl"`
|
||||
IsCd bool `json:"is_cd"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user