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 | 451e27998ffdcf63ad22aa4a8f59cfd1ecb6407a (patch) | |
tree | 387174c037dac304adedc719c34616b744d5402b /util/src | |
parent | :bug: fix message sending (diff) | |
download | server-451e27998ffdcf63ad22aa4a8f59cfd1ecb6407a.tar.xz |
:bug: fix migration timestampe
Diffstat (limited to 'util/src')
-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), })) ); } |