You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[docs] Add upsert_thought to core setup guide — fixes broken new installs
server/index.ts calls upsert_thought but the function was only defined
in the optional content-fingerprint-dedup recipe, not in the core SQL
setup. Every new user hit this error on their first capture_thought call.
Added Step 2.6 with the content_fingerprint column, unique index, and
upsert_thought function. Updated verify step to 2.7.
Fixes#144, fixes#145
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/01-getting-started.md
+48-2Lines changed: 48 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,9 +177,55 @@ grant select, insert, update, delete on table public.thoughts to service_role;
177
177
> [!IMPORTANT]
178
178
> This step is required. Supabase no longer grants full table permissions to `service_role` by default on new projects. Without this, your MCP server will return "permission denied for table thoughts" when trying to capture or search.
> This prevents duplicate thoughts from cluttering your database. When you capture the same thought twice, it merges the metadata instead of creating a second row.
0 commit comments