paperclip/packages/db/src/schema
Forgotten d26b67ebc3 Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements
Introduce company_secrets and company_secret_versions tables for
encrypted secret storage. Add EnvBinding discriminated union (plain vs
secret_ref) to replace raw string env values in adapter configs. Add
hiddenAt column to issues for soft-hiding. Improve migration system
with journal-ordered application and manual fallback when Drizzle
migrator can't reconcile history.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:43:43 -06:00
..
activity_log.ts Add issue identifiers, activity run tracking, and migration inspection 2026-02-19 09:09:26 -06:00
agent_api_keys.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
agent_config_revisions.ts Add agent config revisions, issue-approval links, and robust migration reconciliation 2026-02-19 13:02:14 -06:00
agent_runtime_state.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
agent_task_sessions.ts Add agent task sessions table, session types, and programmatic DB backup 2026-02-19 14:01:40 -06:00
agent_wakeup_requests.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
agents.ts Scaffold agent permissions, approval comments, and hiring governance types 2026-02-19 09:10:48 -06:00
approval_comments.ts Scaffold agent permissions, approval comments, and hiring governance types 2026-02-19 09:10:48 -06:00
approvals.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
companies.ts Add issue identifiers, activity run tracking, and migration inspection 2026-02-19 09:09:26 -06:00
company_secret_versions.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
company_secrets.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
cost_events.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
goals.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
heartbeat_run_events.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
heartbeat_runs.ts Add agent runtime DB schemas and expand shared types 2026-02-17 12:24:38 -06:00
index.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
issue_approvals.ts Add agent config revisions, issue-approval links, and robust migration reconciliation 2026-02-19 13:02:14 -06:00
issue_comments.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00
issues.ts Add secrets infrastructure: DB tables, shared types, env binding model, and migration improvements 2026-02-19 15:43:43 -06:00
projects.ts Expand data model with companies, approvals, costs, and heartbeats 2026-02-17 09:07:22 -06:00