Skip to main content
Glama
4_fix_content_distilled_sequence.sql473 B
-- Fix auto-increment sequence for content_distilled table -- This addresses the issue where the sequence gets out of sync with actual data -- Reset the sequence to be higher than the current maximum ID SELECT setval('content_distilled_id_seq', COALESCE((SELECT MAX(id) FROM content_distilled), 1), true); -- Add a comment to document this fix COMMENT ON SEQUENCE content_distilled_id_seq IS 'Auto-increment sequence for content_distilled.id - reset to fix sync issues';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khromov/llmctx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server