Commit graph

6 commits

Author SHA1 Message Date
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
MrPiglr
106253255a modified: server/openai.ts
modified:   server/websocket.ts
2025-12-23 21:41:48 +00:00
MrPiglr
e3e894ca61 Fix Vercel deployment errors: add .js extension to storage import in websocket.ts and fix missing ternary closing paren in passport.tsx 2025-12-23 04:30:10 +00:00
MrPiglr
bd1525b8e7 modified: client/src/App.tsx
new file:   client/src/hooks/use-websocket.ts
	new file:   client/src/pages/achievements.tsx
	new file:   client/src/pages/events.tsx
	new file:   client/src/pages/opportunities.tsx
	modified:   client/src/pages/os.tsx
	modified:   client/src/pages/passport.tsx
	modified:   package-lock.json
	modified:   server/websocket.ts
	new file:   test-implementation.sh
2025-12-23 03:52:48 +00:00
MrPiglr
ef323d9016 Fix ESM imports with .js extensions for Vercel 2025-12-22 22:53:13 +00:00
MrPiglr
0f7f5704da modified: .env 2025-12-22 22:33:48 +00:00