You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/utils/dev.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ export function localDatabase(databaseLocation: string) {
260
260
_localDatabase[databaseLocation]!.exec(`DELETE FROM _development_cache WHERE id = '${id}'`)
261
261
},
262
262
dropContentTables(){
263
-
return_localDatabase[databaseLocation]!.prepare<unknown[],{name: string}>(`SELECT name FROM sqlite_master WHERE type = 'table' AND name LIKE '_content_%'`)
263
+
_localDatabase[databaseLocation]!.prepare<unknown[],{name: string}>(`SELECT name FROM sqlite_master WHERE type = 'table' AND name LIKE '_content_%'`)
264
264
.all()
265
265
.map(({ name })=>_localDatabase[databaseLocation]!.exec(`DROP TABLE IF EXISTS ${name}`))
0 commit comments