summaryrefslogtreecommitdiffhomepage
path: root/infra/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'infra/app.ts')
-rw-r--r--infra/app.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/infra/app.ts b/infra/app.ts
index abe3e3642..1123e3a6b 100644
--- a/infra/app.ts
+++ b/infra/app.ts
@@ -23,9 +23,10 @@ export const api = new sst.cloudflare.Worker("Api", {
},
])
args.migrations = {
- // oldTag: "v1",
- // newTag: "v1",
- newSqliteClasses: ["SyncServer"],
+ // 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"],
}
},
},