refactor(store): rename LogEntry.ts → LogEntry.timestamp #113
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
#108 unified
Signal.ts→Signal.timestampandSenseInfo.lastSignalTs→SenseInfo.lastSignalTimestamp, but intentionally leftLogEntry.tsunchanged because it is a DB column name.For consistency, rename
LogEntry.ts→LogEntry.timestampas well.Scope
packages/store/src/types.ts— renameLogEntry.tsfield totimestamppackages/store/src/log-store.ts— update all reads/writes of the fieldts AS timestamp) to avoid breaking existing DBsLogEntry.ts(kernel, CLI, tests)pnpm run check && pnpm run build && pnpm -r run testNotes
.nervedatabases in the wild havetscolumn, so backward compat matters