1
0
Fork 0
out-of-your-element-fork-th.../scripts/wal.js

6 lines
157 B
JavaScript

// @ts-check
const sqlite = require("better-sqlite3")
const db = new sqlite("db/ooye.db", {fileMustExist: true})
db.pragma("journal_mode = wal")
db.close()