We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChiragPatankar/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
add_user_id_migration.sql•685 B
-- Migration: Add user_id column to knowledge_base table for user-specific document isolation
-- Run this in Supabase SQL Editor
-- Add user_id column to knowledge_base table
ALTER TABLE public.knowledge_base
ADD COLUMN IF NOT EXISTS user_id TEXT;
-- Create index for faster user-specific queries
CREATE INDEX IF NOT EXISTS idx_knowledge_base_user_id ON public.knowledge_base(user_id);
-- Update existing records to have a default user_id (optional - you may want to leave them as NULL)
-- UPDATE public.knowledge_base SET user_id = 'legacy_shared' WHERE user_id IS NULL;
-- Success message
SELECT 'Migration complete! user_id column added to knowledge_base table.' as status;