azcomputerguru 9a6d67fdc5 Fix migration syntax: Use partial unique index instead of inline constraint
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.
2026-04-14 07:39:58 -07:00
Description
Custom Claude Code behaviors and workflows - Multi-mode operation system
1.6 GiB
Languages
MDX 55.2%
Visual Basic 6.0 40%
Python 1.3%
QuickBASIC 0.7%
HTML 0.7%
Other 1.9%