mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
The uload-server reads links from sync_changes (local-first via mana-sync) and never used the Drizzle schema tables (users, accounts, workspaces, links). Strip uload-database package to only the clicks table which is needed for performant analytics aggregation with proper SQL indexes. - Remove 5 unused tables (users, accounts, workspaces, links, relations) - Keep only uload.clicks with indexes on link_id, clicked_at, country, device_type - Simplify uload-database package from ~190 LOC to ~40 LOC Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||