diff --git a/packages/server/src/appMigrations/appMigrationMetadata.ts b/packages/server/src/appMigrations/appMigrationMetadata.ts index e871018245..6ffac8e41c 100644 --- a/packages/server/src/appMigrations/appMigrationMetadata.ts +++ b/packages/server/src/appMigrations/appMigrationMetadata.ts @@ -21,7 +21,7 @@ export async function getAppMigrationMetadata(appId: string): Promise { const cacheKey = `appmigrations_${env.VERSION}_${appId}` let metadata: AppMigrationDoc | undefined = await cache.get(cacheKey) - if (!metadata) { + if (!metadata || env.isDev()) { try { metadata = await populateFromDB(appId) } catch (err: any) {