php-agentic/Migrations
Snider cda896ebe0
Some checks are pending
CI / PHP 8.2 (push) Waiting to run
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
CI / Assets (push) Waiting to run
fix(migrations): make idempotent and align schemas with models
- All package migrations now guarded with hasTable()/hasColumn()
  so they coexist with the consolidated app-level migration
- Migration 000001: aligned agent_api_keys and agent_sessions
  schemas with current model expectations (key not key_hash,
  session_id not uuid, etc.)
- Migration 000002: hasColumn guards for ALTER TABLE safety
- Migration 000003: hasTable guards for all CREATE TABLE calls
- Dashboard: wrap all queries in try/catch so /hub/agents loads
  even when tables haven't been migrated yet

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-08 21:07:57 +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