-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsqlboiler.toml
40 lines (33 loc) · 996 Bytes
/
sqlboiler.toml
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
[psql]
dbname = "postgres"
host = "localhost"
port = 5432
user = "postgres"
pass = "postgres"
schema = "public"
sslmode = "disable"
blacklist = ["schema_migrations"]
[aliases.tables.project_users.relationships.project_users_project_id_fkey]
local = "Contributors"
foreign = "Projects"
[aliases.tables.pull_requests.relationships.pull_requests_user_id_fkey]
local = "AuthoredPullRequests"
foreign = "Author"
[aliases.tables.approvers.relationships.approvers_user_id_fkey]
local = "ApprovedPullRequests"
foreign = "Approvers"
[aliases.tables.commenters.relationships.commenters_user_id_fkey]
local = "CommentedPullRequests"
foreign = "Commenters"
[aliases.tables.idlers.relationships.idlers_user_id_fkey]
local = "IdledPullRequests"
foreign = "Idlers"
[aliases.tables.reviewers.relationships.reviewers_user_id_fkey]
local = "RequestedReviews"
foreign = "Reviewers"
[[types]]
[types.match]
type = "int"
nullable = false
[types.replace]
type = "int64"