Sfoglia il codice sorgente

fix issue with migration

Dax Raad 5 mesi fa
parent
commit
7417c869fc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/opencode/script/build.ts

+ 1 - 1
packages/opencode/script/build.ts

@@ -51,7 +51,7 @@ const migrations = await Promise.all(
           Number(match[6]),
           Number(match[6]),
         )
         )
       : 0
       : 0
-    return { sql, timestamp }
+    return { sql, timestamp, name }
   }),
   }),
 )
 )
 console.log(`Loaded ${migrations.length} migrations`)
 console.log(`Loaded ${migrations.length} migrations`)