mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-04 08:45:43 +00:00
🐛 fix migration timestampe
This commit is contained in:
@@ -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),
|
||||
}))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user