9a6d67fdc5859a67d0b87fc276a51e30ef7ec392
PostgreSQL doesn't support inline CONSTRAINT with WHERE clause. Changed to separate CREATE UNIQUE INDEX statement for the partial unique constraint on (tech_id, agent_id, status) WHERE status = 'active'. This ensures only one active tunnel session per (tech, agent) pair while allowing multiple closed sessions in history. Migration tested and verified on PostgreSQL 14.
Description
Custom Claude Code behaviors and workflows - Multi-mode operation system
Languages
MDX
55.2%
Visual Basic 6.0
40%
Python
1.3%
QuickBASIC
0.7%
HTML
0.7%
Other
1.9%