|
|
ef7a88e913
|
migrate: replace Firebase with PostgreSQL across core routes
- chat-context.ts: session history now from fs_sessions
- /api/sessions: reads from fs_sessions (NextAuth session auth)
- /api/github/connect: NextAuth session + stores in fs_users.data
- /api/user/api-key: NextAuth session + stores in fs_users.data
- /api/projects/[id]/vision: PATCH to fs_projects JSONB
- /api/projects/[id]/knowledge/items: reads from fs_knowledge_items
- /api/projects/[id]/knowledge/import-ai-chat: uses pg createKnowledgeItem
- lib/server/knowledge.ts: fully rewritten to use PostgreSQL
- entrypoint.sh: add fs_knowledge_items and chat_conversations tables
Made-with: Cursor
|
2026-02-27 13:25:38 -08:00 |
|
|
|
0625943cc1
|
fix: remove SSL from internal DB connection in entrypoint
Made-with: Cursor
|
2026-02-27 12:51:50 -08:00 |
|
|
|
cb0ece541f
|
fix: ensure fs_ app tables created on every startup via node/pg
Made-with: Cursor
|
2026-02-27 12:48:02 -08:00 |
|
|
|
17056ea00c
|
fix: restore auth fixes — next-auth prisma adapter, serverExternalPackages, prisma db push on start
Made-with: Cursor
|
2026-02-27 12:30:52 -08:00 |
|
|
|
1f13d4ef74
|
fix: remove prisma db push from entrypoint (was dropping fs_* tables!)
|
2026-02-18 01:39:47 +00:00 |
|
|
|
bc17ee661f
|
fix: use global prisma cli in entrypoint
|
2026-02-18 01:35:25 +00:00 |
|
|
|
5986dfd50c
|
fix: use local prisma binary in entrypoint (avoid npx downloading wrong version)
|
2026-02-18 01:34:50 +00:00 |
|
|
|
89cc366175
|
fix: remove --skip-generate from prisma db push (not a valid flag)
|
2026-02-18 01:31:09 +00:00 |
|
|
|
1f62ab09a5
|
Add entrypoint script to run prisma db push on startup
|
2026-02-18 00:56:33 +00:00 |
|