48 lines
754 B
Go
48 lines
754 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.21.0
|
|
|
|
package database
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type Feed struct {
|
|
ID int64
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Name string
|
|
Url string
|
|
UserID int64
|
|
LastFetchedAt sql.NullTime
|
|
}
|
|
|
|
type FeedFollow struct {
|
|
ID int64
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
UserID int64
|
|
FeedID int64
|
|
}
|
|
|
|
type Post struct {
|
|
ID int64
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Title string
|
|
Description sql.NullString
|
|
PublishedAt time.Time
|
|
Url string
|
|
FeedID int64
|
|
}
|
|
|
|
type User struct {
|
|
ID int64
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Name string
|
|
ApiKey sql.NullString
|
|
}
|