🐛 fix migration timestampe
This commit is contained in:
parent
f272a11230
commit
033130936b
@ -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),
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user