mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Update migrations to affect larger packages as well
This commit is contained in:
parent
3bb31badcd
commit
3b33048a44
@ -334,13 +334,13 @@ export function migrateConfigOverride(type: "project" | "branch" | "environment"
|
||||
// END
|
||||
|
||||
// BEGIN 2025-07-28: sourceOfTruth was mistakenly written to the environment config in some cases, so let's remove it
|
||||
if (type === "environment") {
|
||||
if (isBranchOrHigher) {
|
||||
res = removeProperty(res, p => p.join(".") === "sourceOfTruth");
|
||||
}
|
||||
// END
|
||||
|
||||
// BEGIN 2025-08-25: stripeAccountId and stripeAccountSetupComplete are unused, so let's remove them
|
||||
if (type === "environment") {
|
||||
if (isBranchOrHigher) {
|
||||
res = removeProperty(res, p => p.join(".") === "payments.stripeAccountId");
|
||||
res = removeProperty(res, p => p.join(".") === "payments.stripeAccountSetupComplete");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user