瀏覽代碼

fix issue with migration

Dax Raad 9 月之前
父節點
當前提交
7417c869fc
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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]),
         )
       : 0
-    return { sql, timestamp }
+    return { sql, timestamp, name }
   }),
 )
 console.log(`Loaded ${migrations.length} migrations`)