Files
plumber/internal/store/sqlc/models.go
T
codegirl007 1840a662d9
CI / test (pull_request) Successful in 6m17s
Add post image storage
2026-08-27 23:46:06 -07:00

60 lines
889 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.31.1
package sqlc
import (
"database/sql"
"time"
)
type Post struct {
ID string
ParentID sql.NullString
AuthorID string
Title string
Body string
City string
PostDate string
PostState string
CreatedAt string
UpdatedAt string
}
type PostImage struct {
ID string
PostID string
ObjectKey string
PublicUrl string
Description string
Position int16
Width int32
Height int32
CreatedAt string
}
type PostVote struct {
UserID string
PostID string
Value int32
}
type Session struct {
Token string
Data []byte
Expiry time.Time
}
type User struct {
ID string
Username string
Name string
PasswordHash string
Role string
Email string
AvatarUrl string
State string
CreatedAt string
}