Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: migration automatic information on running migration without env

=46821ca2ee21
diff --git a/backend/src/db/migrations/utils/env-config.ts b/backend/src/db/migrations/utils/env-config.ts
index 29bbb3f928..05ccae97b5 100644
--- a/backend/src/db/migrations/utils/env-config.ts
+++ b/backend/src/db/migrations/utils/env-config.ts
@@ -41,6 +41,10 @@ export const getMigrationEnvConfig = () => {
// eslint-disable-next-line no-console
console.error("Invalid environment variables. Check the error below");
// eslint-disable-next-line no-console
+ console.error(
+ "Migration is now automatic at startup. Please remove this step from your workflow and start the application as normal."
+ );
+ // eslint-disable-next-line no-console
console.error(parsedEnv.error.issues);
process.exit(-1);
}