Commit Graph

1 Commits

Author SHA1 Message Date
xiaohei
15a70e4ecf feat: database layer - PostgreSQL schema + memory fallback
Some checks failed
CI / lint-and-typecheck (push) Failing after 16m21s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
- drizzle-orm + postgres dependencies
- Full schema: 12 tables covering all modules
- Graceful fallback: no DATABASE_URL → memory mode
- drizzle-kit config for migrations
- Memory store as generic CRUD layer
- dev.ts auto-initializes DB on startup
2026-04-12 19:05:03 +08:00