AeThex-OS/migrations
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
..
meta new file: EXPANSION_COMPLETE.md 2025-12-24 00:24:40 +00:00
0000_worried_mastermind.sql modified: .env 2025-12-22 22:33:48 +00:00
0001_new_apps_expansion.sql new file: server/api/os.ts 2025-12-24 01:25:27 +00:00
0002_os_kernel.sql new file: server/api/os.ts 2025-12-24 01:25:27 +00:00
0003_mode_system.sql modified: server/routes.ts 2025-12-24 02:45:56 +00:00
0004_multi_tenancy_organizations.sql feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
0005_add_organization_fks.sql feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00
0006_revenue_events.sql feat: Add revenue_events table and fix migration FK constraints 2026-01-05 04:54:12 +00:00