2022-01-05 09:20:56 -06:00
|
|
|
# sqlc is used to generate types from sql schema language.
|
|
|
|
|
# It was chosen to ensure type-safety when interacting with
|
|
|
|
|
# the database.
|
|
|
|
|
version: "1"
|
|
|
|
|
packages:
|
|
|
|
|
- name: "database"
|
2022-04-01 15:45:23 -05:00
|
|
|
path: "./queries"
|
|
|
|
|
queries: "./queries"
|
2022-01-05 09:20:56 -06:00
|
|
|
schema: "./dump.sql"
|
|
|
|
|
engine: "postgresql"
|
|
|
|
|
emit_interface: true
|
|
|
|
|
emit_json_tags: true
|
|
|
|
|
emit_db_tags: true
|
|
|
|
|
# We replace the generated db file with our own
|
|
|
|
|
# to add support for transactions. This file is
|
|
|
|
|
# deleted after generation.
|
|
|
|
|
output_db_file_name: db_tmp.go
|
2022-06-24 10:25:01 -05:00
|
|
|
|
2022-01-12 12:04:11 -06:00
|
|
|
rename:
|
2022-01-20 07:46:51 -06:00
|
|
|
api_key: APIKey
|
2022-09-20 03:39:02 +10:00
|
|
|
api_key_scope: APIKeyScope
|
|
|
|
|
api_key_scope_all: APIKeyScopeAll
|
|
|
|
|
api_key_scope_application_connect: APIKeyScopeApplicationConnect
|
2022-09-04 11:44:27 -05:00
|
|
|
avatar_url: AvatarURL
|
2022-01-20 07:46:51 -06:00
|
|
|
login_type_oidc: LoginTypeOIDC
|
2022-04-23 17:58:57 -05:00
|
|
|
oauth_access_token: OAuthAccessToken
|
|
|
|
|
oauth_expiry: OAuthExpiry
|
|
|
|
|
oauth_id_token: OAuthIDToken
|
|
|
|
|
oauth_refresh_token: OAuthRefreshToken
|
2022-01-24 11:07:42 -06:00
|
|
|
parameter_type_system_hcl: ParameterTypeSystemHCL
|
2022-01-12 12:04:11 -06:00
|
|
|
userstatus: UserStatus
|
2022-04-05 19:18:26 -05:00
|
|
|
gitsshkey: GitSSHKey
|
2022-04-29 09:04:19 -05:00
|
|
|
rbac_roles: RBACRoles
|
2022-06-22 12:32:21 -05:00
|
|
|
ip_address: IPAddress
|
2022-08-31 20:09:44 -05:00
|
|
|
ip_addresses: IPAddresses
|
2022-09-12 18:24:20 -05:00
|
|
|
ids: IDs
|
2022-08-22 15:02:50 -07:00
|
|
|
jwt: JWT
|