Skip to content

Commit 0666ff8

Browse files
authored
fix: copycache script (#97)
## Checklist before requesting a review - [x] I have conducted a self-review of my code. - [x] I have conducted a QA. - [x] If it is a core feature, I have included comprehensive tests.
1 parent 9a1fa5d commit 0666ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/migrations/src/copyCache.script.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export const main = async (): Promise<void> => {
273273
const targetDb = sourceColor === "blue" ? GREEN_DB : BLUE_DB;
274274

275275
logger.info(`Copying cache data from ${sourceColor} to ${targetColor}...`);
276-
await copyCacheData("datalayer-postgres-db", "GitcoinDatalayerGreen", connectionDetails);
276+
await copyCacheData(sourceDb, targetDb, connectionDetails);
277277

278278
logger.info(`✅ Cache data copied from ${sourceColor} to ${targetColor} successfully`);
279279

0 commit comments

Comments
 (0)