php-tenant/Migrations
Claude 39adfd67b0
perf: add composite index on user_workspace(workspace_id, role)
Queries filtering by workspace_id and role (e.g. "get all owners of
workspace X") required a full table scan on the user_workspace pivot
table. This adds a composite index to cover those lookups efficiently.

Fixes #11

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:03:27 +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_add_workspace_role_composite_index.php perf: add composite index on user_workspace(workspace_id, role) 2026-03-24 13:03:27 +00:00