Merge pull request #1182 from Dokploy/fix/disable-turn-off-cleanup

fix: turnoff cleanup cache
This commit is contained in:
Mauricio Siu 2025-01-23 00:54:30 -06:00 committed by GitHub
commit c6569f70e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4350 additions and 1 deletions

View File

@ -0,0 +1 @@
ALTER TABLE "admin" ALTER COLUMN "cleanupCacheApplications" SET DEFAULT false;

File diff suppressed because it is too large Load Diff

View File

@ -414,6 +414,13 @@
"when": 1737612903012,
"tag": "0058_brown_sharon_carter",
"breakpoints": true
},
{
"idx": 59,
"version": "6",
"when": 1737615160768,
"tag": "0059_striped_bill_hollister",
"breakpoints": true
}
]
}

View File

@ -33,7 +33,7 @@ export const admins = pgTable("admin", {
serversQuantity: integer("serversQuantity").notNull().default(0),
cleanupCacheApplications: boolean("cleanupCacheApplications")
.notNull()
.default(true),
.default(false),
cleanupCacheOnPreviews: boolean("cleanupCacheOnPreviews")
.notNull()
.default(false),