refactor: all timestamps to ms (#77)

* refactor: change all timestamps to be in miliseconds

* chore: format files

* chore: fix syntax error
This commit is contained in:
Nico
2025-11-26 23:20:22 +01:00
committed by GitHub
parent 4328607cc1
commit 673827f9f3
21 changed files with 3285 additions and 2675 deletions

View File

@@ -8,7 +8,7 @@ const MIGRATION_KEY_PREFIX = "migration:";
export const recordMigrationCheckpoint = async (version: string): Promise<void> => {
const key = `${MIGRATION_KEY_PREFIX}${version}`;
const now = Math.floor(Date.now() / 1000);
const now = Date.now();
await db
.insert(appMetadataTable)