@@ -5,85 +5,6 @@ version: "2"
5
5
cloud :
6
6
# This is the static ID for the coder project.
7
7
project :" 01HEP08N3WKWRFZT3ZZ9Q37J8X"
8
- # Ideally renames & overrides would go under the sql section, but there is a
9
- # bug in sqlc that only global renames & overrides are currently being applied.
10
- overrides :
11
- go :
12
- overrides :
13
- -column :" provisioner_daemons.tags"
14
- go_type :
15
- type :" StringMap"
16
- -column :" provisioner_jobs.tags"
17
- go_type :
18
- type :" StringMap"
19
- -column :" users.rbac_roles"
20
- go_type :" github.com/lib/pq.StringArray"
21
- -column :" templates.user_acl"
22
- go_type :
23
- type :" TemplateACL"
24
- -column :" templates.group_acl"
25
- go_type :
26
- type :" TemplateACL"
27
- -column :" template_with_users.user_acl"
28
- go_type :
29
- type :" TemplateACL"
30
- -column :" template_with_users.group_acl"
31
- go_type :
32
- type :" TemplateACL"
33
- rename :
34
- template :TemplateTable
35
- template_with_user :Template
36
- workspace_build :WorkspaceBuildTable
37
- workspace_build_with_user :WorkspaceBuild
38
- template_version :TemplateVersionTable
39
- template_version_with_user :TemplateVersion
40
- api_key :APIKey
41
- api_key_scope :APIKeyScope
42
- api_key_scope_all :APIKeyScopeAll
43
- api_key_scope_application_connect :APIKeyScopeApplicationConnect
44
- api_version :APIVersion
45
- avatar_url :AvatarURL
46
- created_by_avatar_url :CreatedByAvatarURL
47
- dbcrypt_key :DBCryptKey
48
- session_count_vscode :SessionCountVSCode
49
- session_count_jetbrains :SessionCountJetBrains
50
- session_count_reconnecting_pty :SessionCountReconnectingPTY
51
- session_count_ssh :SessionCountSSH
52
- connection_median_latency_ms :ConnectionMedianLatencyMS
53
- login_type_oidc :LoginTypeOIDC
54
- oauth_access_token :OAuthAccessToken
55
- oauth_access_token_key_id :OAuthAccessTokenKeyID
56
- oauth_expiry :OAuthExpiry
57
- oauth_id_token :OAuthIDToken
58
- oauth_refresh_token :OAuthRefreshToken
59
- oauth_refresh_token_key_id :OAuthRefreshTokenKeyID
60
- oauth_extra :OAuthExtra
61
- parameter_type_system_hcl :ParameterTypeSystemHCL
62
- userstatus :UserStatus
63
- gitsshkey :GitSSHKey
64
- rbac_roles :RBACRoles
65
- ip_address :IPAddress
66
- ip_addresses :IPAddresses
67
- ids :IDs
68
- jwt :JWT
69
- user_acl :UserACL
70
- group_acl :GroupACL
71
- troubleshooting_url :TroubleshootingURL
72
- default_ttl :DefaultTTL
73
- max_ttl :MaxTTL
74
- template_max_ttl :TemplateMaxTTL
75
- motd_file :MOTDFile
76
- uuid :UUID
77
- failure_ttl :FailureTTL
78
- time_til_dormant_autodelete :TimeTilDormantAutoDelete
79
- eof :EOF
80
- template_ids :TemplateIDs
81
- active_user_ids :ActiveUserIDs
82
- display_app_ssh_helper :DisplayAppSSHHelper
83
- oauth2_provider_app :OAuth2ProviderApp
84
- oauth2_provider_app_secret :OAuth2ProviderAppSecret
85
- callback_url :CallbackURL
86
-
87
8
sql :
88
9
-schema :" ./dump.sql"
89
10
queries :" ./queries"
105
26
emit_db_tags :true
106
27
emit_enum_valid_method :true
107
28
emit_all_enum_values :true
29
+ overrides :
30
+ -column :" provisioner_daemons.tags"
31
+ go_type :
32
+ type :" StringMap"
33
+ -column :" provisioner_jobs.tags"
34
+ go_type :
35
+ type :" StringMap"
36
+ -column :" users.rbac_roles"
37
+ go_type :" github.com/lib/pq.StringArray"
38
+ -column :" templates.user_acl"
39
+ go_type :
40
+ type :" TemplateACL"
41
+ -column :" templates.group_acl"
42
+ go_type :
43
+ type :" TemplateACL"
44
+ -column :" template_with_users.user_acl"
45
+ go_type :
46
+ type :" TemplateACL"
47
+ -column :" template_with_users.group_acl"
48
+ go_type :
49
+ type :" TemplateACL"
50
+ rename :
51
+ template :TemplateTable
52
+ template_with_user :Template
53
+ workspace_build :WorkspaceBuildTable
54
+ workspace_build_with_user :WorkspaceBuild
55
+ template_version :TemplateVersionTable
56
+ template_version_with_user :TemplateVersion
57
+ api_key :APIKey
58
+ api_key_scope :APIKeyScope
59
+ api_key_scope_all :APIKeyScopeAll
60
+ api_key_scope_application_connect :APIKeyScopeApplicationConnect
61
+ api_version :APIVersion
62
+ avatar_url :AvatarURL
63
+ created_by_avatar_url :CreatedByAvatarURL
64
+ dbcrypt_key :DBCryptKey
65
+ session_count_vscode :SessionCountVSCode
66
+ session_count_jetbrains :SessionCountJetBrains
67
+ session_count_reconnecting_pty :SessionCountReconnectingPTY
68
+ session_count_ssh :SessionCountSSH
69
+ connection_median_latency_ms :ConnectionMedianLatencyMS
70
+ login_type_oidc :LoginTypeOIDC
71
+ oauth_access_token :OAuthAccessToken
72
+ oauth_access_token_key_id :OAuthAccessTokenKeyID
73
+ oauth_expiry :OAuthExpiry
74
+ oauth_id_token :OAuthIDToken
75
+ oauth_refresh_token :OAuthRefreshToken
76
+ oauth_refresh_token_key_id :OAuthRefreshTokenKeyID
77
+ oauth_extra :OAuthExtra
78
+ parameter_type_system_hcl :ParameterTypeSystemHCL
79
+ userstatus :UserStatus
80
+ gitsshkey :GitSSHKey
81
+ rbac_roles :RBACRoles
82
+ ip_address :IPAddress
83
+ ip_addresses :IPAddresses
84
+ ids :IDs
85
+ jwt :JWT
86
+ user_acl :UserACL
87
+ group_acl :GroupACL
88
+ troubleshooting_url :TroubleshootingURL
89
+ default_ttl :DefaultTTL
90
+ max_ttl :MaxTTL
91
+ template_max_ttl :TemplateMaxTTL
92
+ motd_file :MOTDFile
93
+ uuid :UUID
94
+ failure_ttl :FailureTTL
95
+ time_til_dormant_autodelete :TimeTilDormantAutoDelete
96
+ eof :EOF
97
+ template_ids :TemplateIDs
98
+ active_user_ids :ActiveUserIDs
99
+ display_app_ssh_helper :DisplayAppSSHHelper
100
+ oauth2_provider_app :OAuth2ProviderApp
101
+ oauth2_provider_app_secret :OAuth2ProviderAppSecret
102
+ callback_url :CallbackURL