create database in dedicated directory

This commit is contained in:
parent 567aff2acb
commit 075d68826c
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -67,7 +67,7 @@ export default class MyPlugin extends Plugin {
async start() { async start() {
let openRes = await this.promiser("open", { let openRes = await this.promiser("open", {
filename: "/test.sqlite2", filename: "/managed-sah/test.sqlite3",
vfs: "opfs-sahpool", vfs: "opfs-sahpool",
}); });
const { dbId } = openRes; const { dbId } = openRes;