Fix initial checks

This commit is contained in:
Adria Navarro 2024-01-08 11:52:31 +01:00
parent a427b322be
commit d46b22e4a6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export const getLatestMigrationId = () =>
.sort()
.reverse()[0]
const getTimestamp = (versionId: string) => versionId?.split("_")[0]
const getTimestamp = (versionId: string) => versionId?.split("_")[0] || ""
export async function checkMissingMigrations(
ctx: UserCtx,