summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/src/util/Database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/util/Database.ts b/util/src/util/Database.ts
index 6124ffab..c71ebbd4 100644
--- a/util/src/util/Database.ts
+++ b/util/src/util/Database.ts
@@ -49,7 +49,7 @@ export function initDatabase(): Promise<Connection> {
 					connection.migrations.map((x) => ({
 						id: i++,
 						name: x.name,
-						timestamp: Date.now(),
+						timestamp: Math.floor(Date.now() / 1000),
 					}))
 				);
 			}