We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf610df commit fea3ffaCopy full SHA for fea3ffa
1 file changed
src/utils/database.ts
@@ -98,7 +98,7 @@ export async function getLocalDatabase(database: SqliteDatabaseConfig | D1Databa
98
if (!_localDatabase[databaseLocation]) {
99
_localDatabase[databaseLocation] = db
100
101
- let dropCacheTable = false
+ let dropCacheTable
102
try {
103
dropCacheTable = await db.prepare('SELECT * FROM _development_cache WHERE id = ?')
104
.get('__DATABASE_VERSION__').then(row => (row as unknown as { value: string })?.value !== databaseVersion)
0 commit comments