Files
uptimesebi/sqlc.yaml
T
Sebastian UnterschützandClaude Opus 5.5 99e9b1e57d feat(store): add totp columns, org totp policy and global scope
Orgs are created inside their own tenant scope, so signup needs no
system scope.

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:55:23 +01:00

32 lines
840 B
YAML

version: "2"
sql:
- engine: postgresql
schema: internal/migrations/sql
queries: internal/store/queries
gen:
go:
package: store
out: internal/store
sql_package: pgx/v5
emit_interface: true
emit_empty_slices: true
emit_pointers_for_null_types: true
overrides:
- db_type: uuid
go_type: github.com/google/uuid.UUID
- db_type: citext
go_type: string
- db_type: timestamptz
go_type: time.Time
- db_type: timestamptz
nullable: true
go_type:
type: time.Time
pointer: true
- db_type: uuid
nullable: true
go_type:
import: github.com/google/uuid
type: UUID
pointer: true