Skip to content

Commit a994769

Browse files
Removed default WAL mode
1 parent dfbe3a7 commit a994769

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

SQLiteDatabase.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const READ_ONLY_ERROR = new Error('could not prepare statement (23 not authorize
77

88
function SQLiteDatabase(name) {
99
const db = new Database(name);
10-
db.pragma('journal_mode = WAL');
1110
db._lastInsertRowIdQuery = db.prepare("SELECT last_insert_rowid() AS id;");
1211
db._changesQuery = db.prepare("SELECT changes() AS changes;");
1312
this._db = db;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
},
3434
"dependencies": {
3535
"@expo/websql": "^1.0.1",
36-
"@farjs/better-sqlite3-wrapper": "^1.0.0"
36+
"@farjs/better-sqlite3-wrapper": "^1.0.1"
3737
}
3838
}

0 commit comments

Comments
 (0)