Skip to content

Commit

Permalink
chore: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Aug 17, 2024
1 parent daaa290 commit a0be19c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ init-db:

# Regenerate SQLC code (requires init-db to be run first)
build-sqlc:
@mk backend/controller/sql/{db.go,models.go,querier.go,queries.sql.go} backend/controller/{cronjobs}/sql/{db.go,models.go,querier.go,queries.sql.go} common/configuration/sql/{db.go,models.go,querier.go,queries.sql.go} : backend/controller/sql/queries.sql backend/controller/{cronjobs}/sql/queries.sql common/configuration/sql/queries.sql backend/controller/sql/schema sqlc.yaml -- "just init-db && sqlc generate"
@mk backend/controller/sql/{db.go,models.go,querier.go,queries.sql.go} backend/controller/{cronjobs}/sql/{db.go,models.go,querier.go,queries.sql.go} internal/configuration/sql/{db.go,models.go,querier.go,queries.sql.go} : backend/controller/sql/queries.sql backend/controller/{cronjobs}/sql/queries.sql internal/configuration/sql/queries.sql backend/controller/sql/schema sqlc.yaml -- "just init-db && sqlc generate"

# Build the ZIP files that are embedded in the FTL release binaries
build-zips: build-kt-runtime
Expand Down
4 changes: 2 additions & 2 deletions sqlc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ sql:
<<: *gengo
out: "backend/controller/cronjobs/sql"
- <<: *daldir
queries: "common/configuration/sql/queries.sql"
queries: "internal/configuration/sql/queries.sql"
gen:
go:
<<: *gengo
out: "common/configuration/sql"
out: "internal/configuration/sql"
rules:
- name: postgresql-query-too-costly
message: "Query cost estimate is too high"
Expand Down

0 comments on commit a0be19c

Please sign in to comment.