azcomputerguru 309eb33c31 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
3.2 GiB
Languages
Python 27.8%
QuickBASIC 15.5%
PowerShell 15.1%
JavaScript 12.5%
omnetpp-msg 11.6%
Other 17.5%