Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update backfill-staging-workspaces.ts

Kiran Kc058bb095797
diff --git a/apps/web/scripts/migrations/backfill-staging-workspaces.ts b/apps/web/scripts/migrations/backfill-staging-workspaces.ts
index 0a67eb3691..e0e55ddf6a 100644
--- a/apps/web/scripts/migrations/backfill-staging-workspaces.ts
+++ b/apps/web/scripts/migrations/backfill-staging-workspaces.ts
@@ -12,6 +12,7 @@ async function main() {
// TODO:
// We should skip workspaces where the staging workspace was created manually.
+ // SELECT * FROM Project where plan not in ("free", "pro") and slug LIKE '%-staging';
while (true) {
const workspaces = await prisma.project.findMany({