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

8 lines
174 B
JavaScript
Raw Normal View History

#!/usr/bin/env node
2023-10-09 00:50:03 +00:00
// @ts-check
const sqlite = require("better-sqlite3")
2024-09-14 13:09:47 +00:00
const db = new sqlite("ooye.db", {fileMustExist: true})
2023-10-09 00:50:03 +00:00
db.pragma("journal_mode = wal")
db.close()