out-of-your-element/scripts/wal.js

7 lines
157 B
JavaScript
Raw Normal View History

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