Skip to content
Discussion options

You must be logged in to vote

Hi, try something like this.

version: "2" sql: - name: usersql engine: "postgresql" queries: "db/queries/user.sql" schema: - "db/schemas"  database: uri: postgres//postgres:postgres@postgres:5432/seolitic  gen: go: package: "userdb" out: "internal/db/user" - name: paymentsql engine: "postgresql" queries: "db/queries/payment.sql" schema: - "db/schemas"  database: uri: postgres//postgres:postgres@postgres:5432/seolitic  gen: go: package: "paymentdb" out: "internal/db/payment

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Nikola-Milovic
Comment options

You must be logged in to vote
1 reply
@Nikola-Milovic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants