prevent startup if migrating not possible
This commit is contained in:
parent
f66fdc34f1
commit
24d34597ff
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ import { drizzle } from 'drizzle-orm/bun-sqlite';
|
|||
import { createWrappedTimer } from '../wrapped-timer';
|
||||
|
||||
function initDb() {
|
||||
global.db.exec('PRAGMA journal_mode = delete');
|
||||
// global.db.exec('PRAGMA journal_mode = delete');
|
||||
global.db.exec('PRAGMA journal_mode = WAL');
|
||||
global.db.exec('PRAGMA synchronous = NORMAL');
|
||||
global.db.exec('PRAGMA auto_vacuum = INCREMENTAL');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue