Merge db voters and votes collections - #246
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
INITIAL NOTES:We have this new db architecture design...
Migration Script
Is this a SemVer breaking change?
GAME PLAN:
STRATEGY:
Migration script strategy:
|
|
|
WHAT WE NEED NEXT:
Where are we at with the DB migration?
// db-data/test-reading-data.ts
import { admins } from './local-backup/2025-06-18T06:05'
console.log(Object.keys(admins).length)Still missing?
I think there will be some elections with edge cases that will break the migration—
Possible ways to apply the migration:
Considerations:
See spreadsheet for considerations analyzed https://docs.google.com/spreadsheets/d/17GsGYF4OSh3vcsvp4x3iz27dlXR1_K4xHkQ9497BQLA/edit?gid=0#gid=0 Favored strategy to pursue
|
|
@dsernst how urgent is this from 0-10 (most)? |
|
It's not blocking anything, it's just tech debt. I would say like 4 out of 10? It will be nice when we have a better system in place for this specific change and these sorts of deeper migrations more generally |
Work to merge the
votersandvotescollections, which was lingering technical debt. See #152 (comment).This will unblock us to properly finish link-via-auth.