Commit 0d09a73
fix(mcp): cast uuid to text in waypoints orphan subquery
In PG the memories.id column is uuid and waypoints.src_id/dst_id are
text. Comparing them without a cast produces:
operator does not exist: text = uuid
Cast m.id::text so both sides are text for the NOT EXISTS correlated
subquery in openmemory_stats.
Co-Authored-By: Claude <noreply@anthropic.com>
AI-Generated: true1 parent adde092 commit 0d09a73
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
0 commit comments