managarten/games/worldream/supabase/migrations/005_add_image_url.sql
Till-JS 8e414c12ba feat(games): add worldream game to monorepo
- Integrate worldream (text-first world-building platform) into games/
- Configure as @worldream/web workspace package
- Remove standalone git repo, now part of monorepo

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 13:24:06 +01:00

8 lines
No EOL
268 B
SQL

-- Add image_url column to content_nodes
ALTER TABLE content_nodes
ADD COLUMN IF NOT EXISTS image_url TEXT;
-- Add index for faster queries on nodes with images
CREATE INDEX IF NOT EXISTS idx_content_nodes_has_image
ON content_nodes(id)
WHERE image_url IS NOT NULL;