Parcourir la source

fix do migration

Frank il y a 6 mois
Parent
commit
04dcd87170
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      infra/app.ts

+ 2 - 2
infra/app.ts

@@ -25,8 +25,8 @@ 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",
+        oldTag: $app.stage === "production" || $app.stage === "thdxr" ? "" : "v1",
+        newTag: $app.stage === "production" || $app.stage === "thdxr" ? "" : "v1",
         //newSqliteClasses: ["SyncServer"],
       }
     },