Răsfoiți Sursa

fix do migration

Frank 6 luni în urmă
părinte
comite
c31fd9ed79
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      infra/app.ts

+ 3 - 3
infra/app.ts

@@ -25,9 +25,9 @@ export const api = new sst.cloudflare.Worker("Api", {
       ])
       args.migrations = {
         // Note: when releasing the next tag, make sure all stages use tag v2
-        // oldTag: $app.stage === "production" ? "" : "v1",
-        // newTag: $app.stage === "production" ? "" : "v1",
-        newSqliteClasses: ["SyncServer"],
+        oldTag: $app.stage === "production" ? "" : "v1",
+        newTag: $app.stage === "production" ? "" : "v1",
+        //newSqliteClasses: ["SyncServer"],
       }
     },
   },