feat: reviews table added

This commit is contained in:
Iron_Felix 2025-11-16 04:15:33 +03:00
parent 47989ab10d
commit 29f0a61299
2 changed files with 31 additions and 0 deletions

View file

@ -208,6 +208,21 @@ type Provider struct {
Credentials []byte `json:"credentials"`
}
type Review struct {
ID int64 `json:"id"`
Data string `json:"data"`
Rating *int32 `json:"rating"`
IllustID *int64 `json:"illust_id"`
UserID *int64 `json:"user_id"`
TitleID *int64 `json:"title_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type ReviewImage struct {
ReviewID int64 `json:"review_id"`
ImageID int64 `json:"image_id"`
}
type Signal struct {
ID int64 `json:"id"`
TitleID *int64 `json:"title_id"`