🐛 fix migration timestampe

This commit is contained in:
Flam3rboy 2021-10-15 23:29:59 +02:00
parent f272a11230
commit 033130936b

View File

@ -49,7 +49,7 @@ export function initDatabase(): Promise<Connection> {
connection.migrations.map((x) => ({ connection.migrations.map((x) => ({
id: i++, id: i++,
name: x.name, name: x.name,
timestamp: Date.now(), timestamp: Math.floor(Date.now() / 1000),
})) }))
); );
} }