diff --git a/lib/cache/sqlite-cache-store.js b/lib/cache/sqlite-cache-store.js index 24ab257d3b2..6695dfa6089 100644 --- a/lib/cache/sqlite-cache-store.js +++ b/lib/cache/sqlite-cache-store.js @@ -163,8 +163,7 @@ module.exports = class SqliteCacheStore { etag = ?, cacheControlDirectives = ?, cachedAt = ?, - staleAt = ?, - deleteAt = ? + staleAt = ? WHERE id = ? `) @@ -182,9 +181,8 @@ module.exports = class SqliteCacheStore { cacheControlDirectives, vary, cachedAt, - staleAt, - deleteAt - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + staleAt + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) `) this.#deleteByUrlQuery = this.#db.prepare( @@ -298,7 +296,6 @@ module.exports = class SqliteCacheStore { value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null, value.cachedAt, value.staleAt, - value.deleteAt, existingValue.id ) } else { @@ -316,8 +313,7 @@ module.exports = class SqliteCacheStore { value.cacheControlDirectives ? JSON.stringify(value.cacheControlDirectives) : null, value.vary ? JSON.stringify(value.vary) : null, value.cachedAt, - value.staleAt, - value.deleteAt + value.staleAt ) }