mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
This commit also contains the sqlc.yaml file, the `make sqlc` command and the script for generating sqlc code. This must be done in this commit as the script only works if there are queries to generate from.
10 lines
198 B
YAML
10 lines
198 B
YAML
version: "2"
|
|
sql:
|
|
- engine: "postgresql"
|
|
schema: "db/sqlc/migrations"
|
|
queries: "db/sqlc/queries"
|
|
gen:
|
|
go:
|
|
out: db/sqlc
|
|
package: sqlc
|
|
emit_interface: true
|