-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlc.yaml
More file actions
74 lines (72 loc) · 2.18 KB
/
sqlc.yaml
File metadata and controls
74 lines (72 loc) · 2.18 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "2"
sql:
- engine: "postgresql"
queries: "db/query.sql"
schema: "migration"
gen:
go:
package: "repository"
out: "internal/repository"
emit_json_tags: true
emit_db_tags: true
emit_pointers_for_null_types: true
sql_package: "pgx/v5"
overrides:
- column: "workspace_user_category.categories"
nullable: true
go_type:
type: "Category"
pointer: true
slice: true
- column: "workspace_user_category.users"
nullable: true
go_type:
type: "FindUserByIdRow"
pointer: true
slice: true
- column: "user_workspace_view.workspaces"
nullable: true
go_type:
type: "Workspace"
slice: true
pointer: true
- column: "bookmark_comment.comments"
nullable: true
go_type:
type: "BookmarkCommentRow"
slice: true
pointer: true
- column: "workspace_category_list.categories"
nullable: true
go_type:
type: "Category"
slice: true
pointer: true
- column: "workspace_user_bookmark_count.user_bookmark_count"
go_type:
type: "UserBookmarkCount"
slice: true
- column: "unread_bookmark.bookmarks"
go_type:
type: "Bookmark"
slice: true
- column: "unread_bookmark.device_infos"
go_type:
type: "DeviceInfo"
slice: true
- column: "top_workspace_categories.recommend_links"
go_type:
type: "RecommendLink"
slice: true
- column: "unread_notifications.notifications"
nullable: true
go_type:
type: "NotificationHistory"
slice: true
pointer: true
- column: "unread_notifications.bookmarks"
nullable: true
go_type:
type: "Bookmark"
slice: true
pointer: true