php-agentic/Migrations
darbs-claude 764728759d
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 1m36s
CI / PHP 8.4 (pull_request) Failing after 1m41s
fix: add missing database indexes (closes #21)
- Verify agent_sessions.session_id: unique() constraint creates an
  implicit unique index (agent_sessions_session_id_unique) which is
  sufficient for string lookups; no additional index required
- Drop redundant agent_plans_slug_index: the unique() constraint on
  slug already provides agent_plans_slug_unique covering all lookups
- Add compound (workspace_id, slug) index on agent_plans for the
  common routing pattern WHERE workspace_id = ? AND slug = ?
- Verify agent_workspace_states.key: already indexed via ->index('key')
  in migration 000003; no additional index required
- Mark DB-002 as resolved in TODO.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 06:29:14 +00:00
..
0001_01_01_000001_create_agentic_tables.php fix(migrations): make idempotent and align schemas with models 2026-02-08 21:07:57 +00:00
0001_01_01_000002_add_ip_whitelist_to_agent_api_keys.php fix(migrations): make idempotent and align schemas with models 2026-02-08 21:07:57 +00:00
0001_01_01_000003_create_agent_plans_tables.php fix(migrations): make idempotent and align schemas with models 2026-02-08 21:07:57 +00:00
0001_01_01_000004_create_prompt_tables.php test: add PromptVersion model tests 2026-02-23 05:18:37 +00:00
0001_01_01_000005_add_performance_indexes.php fix: add missing database indexes (closes #21) 2026-02-23 06:29:14 +00:00