diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 545d952ef3..aef586cf9b 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -92,7 +92,7 @@ exports[`should create default config 1`] = ` "value": "", }, }, - "migrationLock": false, + "migrationLock": true, "newProjectLayout": false, "personalAccessTokensKillSwitch": false, "proPlanAutoCharge": false, @@ -130,7 +130,7 @@ exports[`should create default config 1`] = ` "value": "", }, }, - "migrationLock": false, + "migrationLock": true, "newProjectLayout": false, "personalAccessTokensKillSwitch": false, "proPlanAutoCharge": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 71b7d8ee9e..da73b1c41f 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -84,7 +84,7 @@ const flags: IFlags = { process.env.UNLEASH_PAT_KILL_SWITCH, false, ), - migrationLock: parseEnvVarBoolean(process.env.MIGRATION_LOCK, false), + migrationLock: parseEnvVarBoolean(process.env.MIGRATION_LOCK, true), demo: parseEnvVarBoolean(process.env.UNLEASH_DEMO, false), googleAuthEnabled: parseEnvVarBoolean( process.env.GOOGLE_AUTH_ENABLED,