version: "2"
sql:
  - engine: "postgresql"
    schema:
      - "./migrations"
    queries:
      - "./sql"
    gen:
      go:
        package: "dbgen"
        out: "./internal/db/dbgen"
        sql_package: "pgx/v5"
        emit_json_tags: true
        emit_prepared_queries: false
        emit_interface: true

