aebe5bc57d
Prevents orphaned Assignment rows when a DemandRequirement is deleted. Adds (resourceId, status, endDate) and (projectId, status, endDate) indexes to support capacity range queries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>