Add architecture decision records for Discord.js, PostgreSQL, polling strategy, and modular monolith
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# ADR-002: PostgreSQL over MongoDB
|
||||
|
||||
**Status:** Accepted
|
||||
**Context:** Mileage data is relational (user → role → event → score). MongoDB adds flexibility but sacrifices query power.
|
||||
**Decision:** Use PostgreSQL with JSONB columns for extensible user metadata.
|
||||
**Consequences:** Schema migrations needed for new features; joins straightforward.
|
||||
Reference in New Issue
Block a user