AeThex-OS/server
MrPiglr 4b84eedbd3 feat: Add revenue_events table and fix migration FK constraints
- Add revenue_events table to track org/project revenue with source tracking
- Add Drizzle schema for revenue_events with proper org/project references
- Create migration 0006_revenue_events.sql with indexes
- Fix migration 0004: Remove FK constraints to profiles.id (auth schema incompatibility)
- Document auth.users/profiles.id type mismatch (UUID vs VARCHAR)
- Harden profile update authorization (self-update or org admin/owner only)
- Complete org-scoping security audit implementation (42 gaps closed)
2026-01-05 04:54:12 +00:00
..
api new file: server/api/os.ts 2025-12-24 01:25:27 +00:00
data Add knowledge base and chat history for AI assistant 2025-12-21 23:30:44 +00:00
.env modified: server/supabase.ts 2025-12-22 02:26:12 +00:00
capability-guard.ts modified: server/routes.ts 2025-12-24 02:45:56 +00:00
index.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
oauth-handlers.ts Add OAuth 2.0 implementation with secure credential handling 2025-12-24 04:15:25 +00:00
openai.ts modified: server/openai.ts 2025-12-23 21:41:48 +00:00
org-middleware.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
org-scoping.test.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
org-storage.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
routes.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
static.ts Extracted stack files 2025-12-15 20:52:49 +00:00
storage.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
supabase.ts modified: server/supabase.ts 2025-12-22 02:26:12 +00:00
vite.ts Extracted stack files 2025-12-15 20:52:49 +00:00
websocket.ts feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00