File tree Expand file tree Collapse file tree
packages/cloudflare/src/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @opennextjs/cloudflare " : patch
3+ ---
4+
5+ fix: do not log expected expected D1 errors
6+
7+ The ` populateCache ` command adds columns to the D1 tag cache for SWR support.
8+ This is required for older deployments made before those column were added.
9+ SQLite errors when the columns exist and we should not log those errors.
Original file line number Diff line number Diff line change @@ -607,7 +607,8 @@ function populateD1TagCache(
607607 target : populateCacheOptions . target ,
608608 environment : populateCacheOptions . environment ,
609609 configPath : populateCacheOptions . wranglerConfigPath ,
610- logging : "error" ,
610+ // Do not log errors since the ALTER TABLE command will fail if the columns already exist.
611+ logging : "none" ,
611612 }
612613 ) ;
613614
You can’t perform that action at this time.
0 commit comments