Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8afdf24

Browse files
authored
chore: Update sqlc to v1.16.0 (#5788)
* chore: Update sqlc to v1.16.0 * chore: Fix cases where types became Null-types * chore: Set parameter_schemas default_destination_scheme and default_source_scheme to NOT NULL * chore: Add enum validation to database fake * chore: Fix all tests that skipping enum values * fix: Use correct err in providionerdserver audit log failure log
1 parent f67acac commit 8afdf24

29 files changed

+1525
-216
lines changed

.github/workflows/coder.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215

216216
- name: Install sqlc
217217
run: |
218-
curl -sSL https://github.com/kyleconroy/sqlc/releases/download/v1.13.0/sqlc_1.13.0_linux_amd64.tar.gz | sudo tar -C /usr/bin -xz sqlc
218+
curl -sSL https://github.com/kyleconroy/sqlc/releases/download/v1.16.0/sqlc_1.16.0_linux_amd64.tar.gz | sudo tar -C /usr/bin -xz sqlc
219219
- name: Install protoc-gen-go
220220
run: go install google.golang.org/protobuf/cmd/[email protected]
221221
- name: Install protoc-gen-go-drpc

coderd/audit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (api *API) convertAuditLog(ctx context.Context, dblog database.GetAuditLogs
198198
Username: dblog.UserUsername.String,
199199
Email: dblog.UserEmail.String,
200200
CreatedAt: dblog.UserCreatedAt.Time,
201-
Status: codersdk.UserStatus(dblog.UserStatus),
201+
Status: codersdk.UserStatus(dblog.UserStatus.UserStatus),
202202
Roles: []codersdk.Role{},
203203
AvatarURL: dblog.UserAvatarUrl.String,
204204
}

0 commit comments

Comments
 (0)