We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303297c commit 55476d7Copy full SHA for 55476d7
coderd/database/generate.sh
@@ -1,5 +1,11 @@
1
#!/usr/bin/env bash
2
3
+# This script turns many *.sql.go files into a single queries.sql.go file. This
4
+# is due to sqlc's behavior when using multiple sql files to output them to
5
+# multiple Go files. We decided it would be cleaner to move these to a single
6
+# file for readability. We should probably contribute the option to do this
7
+# upstream instead, because this is quite janky.
8
+
9
set -euo pipefail
10
11
cd "$(dirname "$0")"
0 commit comments