php-tenant/Migrations
Claude 8b05b8a76d
fix: cascade delete namespaces when workspace is removed
Change namespaces.workspace_id FK from nullOnDelete to cascadeOnDelete
so that namespaces are properly cleaned up when their parent workspace
is deleted, instead of being orphaned with a null workspace_id.

Fixes #10

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:11:29 +00:00
..
0001_01_01_000000_create_tenant_tables.php fix: namespace to Core\Mod\Tenant, restructure package 2026-01-27 00:58:42 +00:00
2026_01_26_000000_create_workspace_invitations_table.php fix: namespace to Core\Mod\Tenant, restructure package 2026-01-27 00:58:42 +00:00
2026_01_26_120000_create_usage_alert_history_table.php fix: namespace to Core\Mod\Tenant, restructure package 2026-01-27 00:58:42 +00:00
2026_01_26_140000_create_entitlement_webhooks_tables.php fix: namespace to Core\Mod\Tenant, restructure package 2026-01-27 00:58:42 +00:00
2026_01_26_140000_create_workspace_teams_table.php fix: namespace to Core\Mod\Tenant, restructure package 2026-01-27 00:58:42 +00:00
2026_01_29_000000_add_performance_indexes.php perf: add database indexes for common queries (P2-024) 2026-01-29 16:17:06 +00:00
2026_03_24_000000_cascade_delete_namespaces_on_workspace_delete.php fix: cascade delete namespaces when workspace is removed 2026-03-24 13:11:29 +00:00