We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4fd1d7 commit 5cdb9edCopy full SHA for 5cdb9ed
1 file changed
crates/vite_task/src/session/cache/mod.rs
@@ -157,16 +157,16 @@ impl ExecutionCache {
157
"CREATE TABLE execution_key_to_fingerprint (key BLOB PRIMARY KEY, value BLOB);",
158
(),
159
)?;
160
- conn.execute("PRAGMA user_version = 6", ())?;
+ conn.execute("PRAGMA user_version = 7", ())?;
161
}
162
- 1..=5 => {
+ 1..=6 => {
163
// old internal db version. reset
164
conn.set_db_config(DbConfig::SQLITE_DBCONFIG_RESET_DATABASE, true)?;
165
conn.execute("VACUUM", ())?;
166
conn.set_db_config(DbConfig::SQLITE_DBCONFIG_RESET_DATABASE, false)?;
167
168
- 6 => break, // current version
169
- 7.. => {
+ 7 => break, // current version
+ 8.. => {
170
return Err(anyhow::anyhow!("Unrecognized database version: {user_version}"));
171
172
0 commit comments