2026-01-07 14:20:23 -05:00
|
|
|
version: "2"
|
|
|
|
|
sql:
|
|
|
|
|
- engine: "sqlite"
|
2026-01-07 19:42:12 -05:00
|
|
|
queries: "internal/migrations/query.sql"
|
|
|
|
|
schema: "internal/migrations/schema.sql"
|
2026-01-07 14:20:23 -05:00
|
|
|
gen:
|
|
|
|
|
go:
|
2026-01-07 19:42:12 -05:00
|
|
|
package: "keybase"
|
|
|
|
|
out: "internal/keybase"
|
2026-01-07 14:20:23 -05:00
|
|
|
emit_json_tags: true
|
|
|
|
|
emit_empty_slices: true
|
|
|
|
|
emit_pointers_for_null_types: true
|
|
|
|
|
emit_interface: true
|
|
|
|
|
emit_exact_table_names: false
|
|
|
|
|
json_tags_case_style: "snake"
|
|
|
|
|
overrides:
|
|
|
|
|
- column: "did_documents.document"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "credentials.transports"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "ucan_tokens.capabilities"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "ucan_tokens.proof_chain"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "ucan_tokens.facts"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "sessions.device_info"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "services.metadata"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "grants.scopes"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "grants.accounts"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|
|
|
|
|
- column: "delegations.caveats"
|
|
|
|
|
go_type: "encoding/json.RawMessage"
|