php-agentic/Migrations
Clotho cc1c4c1adc
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 21s
CI / PHP 8.4 (pull_request) Failing after 19s
feat: add plan archival with retention policy (#34)
- Add `agentic.plan_retention_days` config (default 90 days via AGENTIC_PLAN_RETENTION_DAYS env)
- Add SoftDeletes and `archived_at` timestamp to AgentPlan model
- Add migration for `deleted_at` and `archived_at` columns on agent_plans
- Create `agentic:plan-cleanup` command with --dry-run and --days options
- Schedule retention cleanup to run daily via service provider
- Register PlanRetentionCommand in ConsoleBooting handler
- Add PlanRetentionTest feature test suite covering all retention scenarios
- Fix archive() to store archived_at as dedicated column (not metadata string)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 15:11:55 +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
0001_01_01_000006_add_soft_deletes_to_agent_plans.php feat: add plan archival with retention policy (#34) 2026-02-23 15:11:55 +00:00