From f63125b4d28552d0ad45cc1fbcb860ce26c1031c Mon Sep 17 00:00:00 2001
From: Kyle Conroy <kyle@conroy.org>
Date: Wed, 22 Nov 2023 09:34:46 -0800
Subject: [PATCH 1/2] build(deps): Upgrade to sqlc v1.24.0

---
 .github/workflows/ci.yml                                   | 7 ++++---
 .../src/main/kotlin/com/example/authors/mysql/Models.kt    | 2 +-
 .../src/main/kotlin/com/example/authors/mysql/Queries.kt   | 2 +-
 .../main/kotlin/com/example/authors/mysql/QueriesImpl.kt   | 2 +-
 .../main/kotlin/com/example/authors/postgresql/Models.kt   | 2 +-
 .../main/kotlin/com/example/authors/postgresql/Queries.kt  | 2 +-
 .../kotlin/com/example/authors/postgresql/QueriesImpl.kt   | 2 +-
 .../src/main/kotlin/com/example/booktest/mysql/Models.kt   | 2 +-
 .../src/main/kotlin/com/example/booktest/mysql/Queries.kt  | 2 +-
 .../main/kotlin/com/example/booktest/mysql/QueriesImpl.kt  | 2 +-
 .../main/kotlin/com/example/booktest/postgresql/Models.kt  | 2 +-
 .../main/kotlin/com/example/booktest/postgresql/Queries.kt | 2 +-
 .../kotlin/com/example/booktest/postgresql/QueriesImpl.kt  | 2 +-
 examples/src/main/kotlin/com/example/jets/Models.kt        | 2 +-
 examples/src/main/kotlin/com/example/jets/Queries.kt       | 2 +-
 examples/src/main/kotlin/com/example/jets/QueriesImpl.kt   | 2 +-
 .../src/main/kotlin/com/example/ondeck/mysql/Models.kt     | 2 +-
 .../src/main/kotlin/com/example/ondeck/mysql/Queries.kt    | 2 +-
 .../main/kotlin/com/example/ondeck/mysql/QueriesImpl.kt    | 2 +-
 .../main/kotlin/com/example/ondeck/postgresql/Models.kt    | 2 +-
 .../main/kotlin/com/example/ondeck/postgresql/Queries.kt   | 2 +-
 .../kotlin/com/example/ondeck/postgresql/QueriesImpl.kt    | 2 +-
 22 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6cc2d41..fc9fd0f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,9 +13,10 @@ jobs:
     - uses: actions/setup-go@v4
       with:
         go-version: '1.21'
-    - uses: sqlc-dev/setup-sqlc@v4
-      with:
-        sqlc-version: '1.23.0'
+    - run: go install github.com/sqlc-dev/sqlc@52beae33148eafd4fc3d56f9ae95dcb529d9e4a1
+    # - uses: sqlc-dev/setup-sqlc@v4
+    #   with:
+    #     sqlc-version: '1.23.0'
     - run: make
     - run: sqlc diff
       working-directory: examples
\ No newline at end of file
diff --git a/examples/src/main/kotlin/com/example/authors/mysql/Models.kt b/examples/src/main/kotlin/com/example/authors/mysql/Models.kt
index 9be77d5..bab85d2 100644
--- a/examples/src/main/kotlin/com/example/authors/mysql/Models.kt
+++ b/examples/src/main/kotlin/com/example/authors/mysql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.mysql
 
diff --git a/examples/src/main/kotlin/com/example/authors/mysql/Queries.kt b/examples/src/main/kotlin/com/example/authors/mysql/Queries.kt
index 0b42198..31a464f 100644
--- a/examples/src/main/kotlin/com/example/authors/mysql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/authors/mysql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.mysql
 
diff --git a/examples/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt
index 4b85917..bac4446 100644
--- a/examples/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.mysql
 
diff --git a/examples/src/main/kotlin/com/example/authors/postgresql/Models.kt b/examples/src/main/kotlin/com/example/authors/postgresql/Models.kt
index cbabdb1..f1b3b2b 100644
--- a/examples/src/main/kotlin/com/example/authors/postgresql/Models.kt
+++ b/examples/src/main/kotlin/com/example/authors/postgresql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/authors/postgresql/Queries.kt b/examples/src/main/kotlin/com/example/authors/postgresql/Queries.kt
index 2b46cdd..2eeac8f 100644
--- a/examples/src/main/kotlin/com/example/authors/postgresql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/authors/postgresql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt
index 3ef6a8b..ef19cc6 100644
--- a/examples/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.authors.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/mysql/Models.kt b/examples/src/main/kotlin/com/example/booktest/mysql/Models.kt
index fe69ac9..d48beab 100644
--- a/examples/src/main/kotlin/com/example/booktest/mysql/Models.kt
+++ b/examples/src/main/kotlin/com/example/booktest/mysql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.mysql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/mysql/Queries.kt b/examples/src/main/kotlin/com/example/booktest/mysql/Queries.kt
index 0433128..dc0296b 100644
--- a/examples/src/main/kotlin/com/example/booktest/mysql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/booktest/mysql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.mysql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt
index 3589f1a..358d21a 100644
--- a/examples/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.mysql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/postgresql/Models.kt b/examples/src/main/kotlin/com/example/booktest/postgresql/Models.kt
index e77993a..31c7ebf 100644
--- a/examples/src/main/kotlin/com/example/booktest/postgresql/Models.kt
+++ b/examples/src/main/kotlin/com/example/booktest/postgresql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/postgresql/Queries.kt b/examples/src/main/kotlin/com/example/booktest/postgresql/Queries.kt
index cfeec4d..3a21a7b 100644
--- a/examples/src/main/kotlin/com/example/booktest/postgresql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/booktest/postgresql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/booktest/postgresql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/booktest/postgresql/QueriesImpl.kt
index e6f10eb..d329ced 100644
--- a/examples/src/main/kotlin/com/example/booktest/postgresql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/booktest/postgresql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.booktest.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/jets/Models.kt b/examples/src/main/kotlin/com/example/jets/Models.kt
index 9505c32..7887ce7 100644
--- a/examples/src/main/kotlin/com/example/jets/Models.kt
+++ b/examples/src/main/kotlin/com/example/jets/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.jets
 
diff --git a/examples/src/main/kotlin/com/example/jets/Queries.kt b/examples/src/main/kotlin/com/example/jets/Queries.kt
index 0c4892a..26c3195 100644
--- a/examples/src/main/kotlin/com/example/jets/Queries.kt
+++ b/examples/src/main/kotlin/com/example/jets/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.jets
 
diff --git a/examples/src/main/kotlin/com/example/jets/QueriesImpl.kt b/examples/src/main/kotlin/com/example/jets/QueriesImpl.kt
index a3b1737..4ecc6c8 100644
--- a/examples/src/main/kotlin/com/example/jets/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/jets/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.jets
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/mysql/Models.kt b/examples/src/main/kotlin/com/example/ondeck/mysql/Models.kt
index 38f26a5..5331345 100644
--- a/examples/src/main/kotlin/com/example/ondeck/mysql/Models.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/mysql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.mysql
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/mysql/Queries.kt b/examples/src/main/kotlin/com/example/ondeck/mysql/Queries.kt
index 39a7a1b..742f6c3 100644
--- a/examples/src/main/kotlin/com/example/ondeck/mysql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/mysql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.mysql
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/mysql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/ondeck/mysql/QueriesImpl.kt
index cb364c8..aa97d97 100644
--- a/examples/src/main/kotlin/com/example/ondeck/mysql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/mysql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.mysql
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/postgresql/Models.kt b/examples/src/main/kotlin/com/example/ondeck/postgresql/Models.kt
index d0be9b8..4870979 100644
--- a/examples/src/main/kotlin/com/example/ondeck/postgresql/Models.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/postgresql/Models.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/postgresql/Queries.kt b/examples/src/main/kotlin/com/example/ondeck/postgresql/Queries.kt
index ffd5759..f6e093a 100644
--- a/examples/src/main/kotlin/com/example/ondeck/postgresql/Queries.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/postgresql/Queries.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.postgresql
 
diff --git a/examples/src/main/kotlin/com/example/ondeck/postgresql/QueriesImpl.kt b/examples/src/main/kotlin/com/example/ondeck/postgresql/QueriesImpl.kt
index fb927cf..411345c 100644
--- a/examples/src/main/kotlin/com/example/ondeck/postgresql/QueriesImpl.kt
+++ b/examples/src/main/kotlin/com/example/ondeck/postgresql/QueriesImpl.kt
@@ -1,6 +1,6 @@
 // Code generated by sqlc. DO NOT EDIT.
 // versions:
-//   sqlc v1.23.0
+//   sqlc v1.24.0
 
 package com.example.ondeck.postgresql
 

From 0d3634920c76fa1e40d41339ad43f69010028f42 Mon Sep 17 00:00:00 2001
From: Kyle Conroy <kyle@conroy.org>
Date: Wed, 22 Nov 2023 09:36:34 -0800
Subject: [PATCH 2/2] fix github workflow

---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fc9fd0f..091cd90 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,7 @@ jobs:
     - uses: actions/setup-go@v4
       with:
         go-version: '1.21'
-    - run: go install github.com/sqlc-dev/sqlc@52beae33148eafd4fc3d56f9ae95dcb529d9e4a1
+    - run: go install github.com/sqlc-dev/sqlc/cmd/sqlc@52beae33148eafd4fc3d56f9ae95dcb529d9e4a1
     # - uses: sqlc-dev/setup-sqlc@v4
     #   with:
     #     sqlc-version: '1.23.0'
