d2
d2 copied to clipboard
Rename `clientName` to `platformName`
This would improve clarity, as a follow-up to #140. The reason this was left out of the PR is that we'd need to:
- Perform the rename in code
- Add a migration mechanism to automatically migrate the
localfolder toplatformName- Perhaps write a small script that only renames JSON keys (
clientName->platformName) and invoke it at startup? - Maybe we could collect migration scripts in a
Migrationsfolder, named by their version and then apply them in order - We'd probably want some form of versioning, e.g. a
local/.version.jsonthat records the "schema version"
- Perhaps write a small script that only renames JSON keys (