Skip to content

Commit ce114a7

Browse files
authored
chore: upgrade sqlc to 1.19.1 (coder#8511)
1 parent 7a62534 commit ce114a7

File tree

19 files changed

+68
-68
lines changed

19 files changed

+68
-68
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
- name: Setup sqlc
166166
uses: sqlc-dev/setup-sqlc@v3
167167
with:
168-
sqlc-version: "1.18.0"
168+
sqlc-version: "1.19.1"
169169

170170
- name: go install tools
171171
run: |

.github/workflows/pr-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
- name: Setup sqlc
117117
uses: sqlc-dev/setup-sqlc@v3
118118
with:
119-
sqlc-version: "1.18.0"
119+
sqlc-version: "1.19.1"
120120

121121
- name: GHCR Login
122122
uses: docker/login-action@v2

.github/workflows/security.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Setup sqlc
8484
uses: sqlc-dev/setup-sqlc@v3
8585
with:
86-
sqlc-version: "1.18.0"
86+
sqlc-version: "1.19.1"
8787

8888
- name: Install yq
8989
run: go run github.com/mikefarah/yq/v4@v4.30.6

coderd/apikey/apikey.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"time"
88

99
"github.com/google/uuid"
10-
"github.com/tabbed/pqtype"
10+
"github.com/sqlc-dev/pqtype"
1111
"golang.org/x/xerrors"
1212

1313
"github.com/coder/coder/coderd/database"

coderd/audit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/google/uuid"
14-
"github.com/tabbed/pqtype"
14+
"github.com/sqlc-dev/pqtype"
1515
"golang.org/x/xerrors"
1616

1717
"cdr.dev/slog"

coderd/audit/request.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strconv"
1111

1212
"github.com/google/uuid"
13-
"github.com/tabbed/pqtype"
13+
"github.com/sqlc-dev/pqtype"
1414

1515
"cdr.dev/slog"
1616
"github.com/coder/coder/coderd/database"

coderd/database/dbgen/dbgen.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313

1414
"github.com/google/uuid"
1515
"github.com/moby/moby/pkg/namesgenerator"
16+
"github.com/sqlc-dev/pqtype"
1617
"github.com/stretchr/testify/require"
17-
"github.com/tabbed/pqtype"
1818

1919
"github.com/coder/coder/coderd/database"
2020
"github.com/coder/coder/coderd/database/dbauthz"

coderd/database/models.go

+44-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/querier.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/httpmw/apikey.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"time"
1515

1616
"github.com/google/uuid"
17-
"github.com/tabbed/pqtype"
17+
"github.com/sqlc-dev/pqtype"
1818
"golang.org/x/oauth2"
1919
"golang.org/x/xerrors"
2020

coderd/httpmw/authorize_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/go-chi/chi/v5"
1414
"github.com/google/uuid"
15+
"github.com/sqlc-dev/pqtype"
1516
"github.com/stretchr/testify/require"
16-
"github.com/tabbed/pqtype"
1717

1818
"github.com/coder/coder/coderd/database"
1919
"github.com/coder/coder/coderd/database/dbtestutil"

coderd/provisionerdserver/provisionerdserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"time"
1717

1818
"github.com/google/uuid"
19-
"github.com/tabbed/pqtype"
19+
"github.com/sqlc-dev/pqtype"
2020
semconv "go.opentelemetry.io/otel/semconv/v1.14.0"
2121
"go.opentelemetry.io/otel/trace"
2222
"golang.org/x/exp/maps"

0 commit comments

Comments
 (0)