diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 23:29:59 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-15 23:29:59 +0200 |
commit | 033130936bd32efe9dcb4964e9a1d4d75004b322 (patch) | |
tree | 0c825b65046fa5b6ab066cf3df7ec9c7b269c40a /util | |
parent | :bug: fix message sending (diff) | |
download | server-033130936bd32efe9dcb4964e9a1d4d75004b322.tar.xz |
:bug: fix migration timestampe
Diffstat (limited to 'util')
-rw-r--r-- | util/src/util/Database.ts | 2 |
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), })) ); } |