Fix initial run

This commit is contained in:
Adria Navarro 2023-12-29 12:43:53 +01:00
parent 90db9efb70
commit f484c6dabd
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,