1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: enable migration lock by default (#4495)

This commit is contained in:
Mateusz Kwasniewski 2023-08-15 14:46:08 +02:00 committed by GitHub
parent 67ef0507a1
commit 1eae31527e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,