Files
StageAI/drizzle/meta
CTO f0a7d6837b
All checks were successful
Deploy to VPS / deploy (push) Successful in 40s
fix: use withTenantDb for skills API routes (RLS fix) and seed default skills
All skills API routes were using `db` directly instead of `withTenantDb`,
causing RLS to block all operations since `app.tenant_id` was never set.
This caused "Netzwerkfehler" when creating/reading skills.

Also fixes the broken seed migration (0005) which referenced a non-existent
column in the CROSS JOIN, preventing default system skills from being inserted.
New migration 0006 properly seeds the 4 default skills with full system prompts.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-13 21:15:24 +00:00
..