summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 23:29:59 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 23:29:59 +0200
commit033130936bd32efe9dcb4964e9a1d4d75004b322 (patch)
tree0c825b65046fa5b6ab066cf3df7ec9c7b269c40a /util
parent:bug: fix message sending (diff)
downloadserver-033130936bd32efe9dcb4964e9a1d4d75004b322.tar.xz
:bug: fix migration timestampe
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),
 					}))
 				);
 			}