|
|
|
@ -20,10 +20,10 @@ const db = getOrCreateSqlite({ uri: './../storage/db.sqlite' })
|
|
|
|
|
const db = getOrCreateSqlite({ uri: ':memory:' })
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Per Default WAL mode is enabled. To disable add Parameter "wal",
|
|
|
|
|
Per Default WAL mode is enabled. To disable add Parameter "wal" and set to false,
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
const db = getOrCreateSqlite({ path: './../storage/db.sqlite', 'wal': false })
|
|
|
|
|
const db = getOrCreateSqlite({ uri: './../storage/db.sqlite', wal: false })
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### runMigrationSqlite(filePath: string, db: object)
|
|
|
|
|