feat: Purging collection cache

This commit is contained in:
Binyamin Yawitz 2024-07-30 20:36:29 -04:00
parent 999c2cfac7
commit 821d0bee19
No known key found for this signature in database

View file

@ -195,6 +195,7 @@ class V21 extends Migration
try {
$this->projectDB->updateAttribute($bucketId, 'metadata', size: 75000);
$this->projectDB->purgeCachedCollection($bucketId);
} catch (\Throwable $th) {
Console::warning("'bucketId' from {$bucketId}: {$th->getMessage()}");
}