diff --git a/SQLiteDatabase.js b/SQLiteDatabase.js index d415d36..b41326c 100644 --- a/SQLiteDatabase.js +++ b/SQLiteDatabase.js @@ -7,7 +7,6 @@ const READ_ONLY_ERROR = new Error('could not prepare statement (23 not authorize function SQLiteDatabase(name) { const db = new Database(name); - db.pragma('journal_mode = WAL'); db._lastInsertRowIdQuery = db.prepare("SELECT last_insert_rowid() AS id;"); db._changesQuery = db.prepare("SELECT changes() AS changes;"); this._db = db; diff --git a/package.json b/package.json index e40efd5..2711b9f 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,6 @@ }, "dependencies": { "@expo/websql": "^1.0.1", - "@farjs/better-sqlite3-wrapper": "^1.0.0" + "@farjs/better-sqlite3-wrapper": "^1.0.1" } }