Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
944 B
Raw Blame
version: "2"
sql:
  - engine: "postgresql"
    queries: "pkg/db/queries/"
    schema: "migrations/"
    gen:
      go:
        package: "db"
        out: "pkg/db/generated"
        sql_package: "pgx/v5"
        emit_json_tags: true
        emit_empty_slices: true
        overrides:
          - column: "issue_wakeup.condition"
            go_type: "encoding/json.RawMessage"
            nullable: true
          - column: "chat_wakeup.condition"
            go_type: "encoding/json.RawMessage"
            nullable: true
  # Commercial (ee/) packages generate their own query code so open-source
  # packages never compile against it.
  - engine: "postgresql"
    queries: "ee/projectfolder/queries.sql"
    schema: "migrations/"
    gen:
      go:
        package: "folderdb"
        out: "ee/projectfolder/folderdb"
        sql_package: "pgx/v5"
        emit_json_tags: true
        emit_empty_slices: true
        omit_unused_structs: true