-
Notifications
You must be signed in to change notification settings - Fork 5
/
models.go
50 lines (43 loc) · 902 Bytes
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.16.0
package postgres
import (
"database/sql"
"time"
"github.com/google/uuid"
)
type Page struct {
ID uuid.UUID
Namespace string
Slug string
CurrentContentID uuid.UUID
PublishedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt sql.NullTime
}
type PagesContent struct {
ID uuid.UUID
PageID uuid.UUID
Title string
Html string
CreatedAt time.Time
}
type Post struct {
ID uuid.UUID
Namespace string
Slug string
CurrentContentID uuid.UUID
PublishedAt sql.NullTime
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt sql.NullTime
}
type PostsContent struct {
ID uuid.UUID
PostID uuid.UUID
Title string
Content string
CreatedAt time.Time
}