empiezo a crear una db
parent
585fdc9623
commit
a4ca22df2e
@ -1,4 +1,7 @@
|
||||
/** @typedef {typeof import('better-sqlite3')} better-sqlite3 */
|
||||
import Database from 'better-sqlite3';
|
||||
|
||||
const db = new Database('./carteles_dev.sqlite', { verbose: console.log })
|
||||
db.pragma
|
||||
export const db = new Database('./carteles_dev.sqlite', { verbose: console.log })
|
||||
db.pragma("journal_mode = WAL");
|
||||
db.pragma("synchronous = normal");
|
||||
db.pragma("temp_store = memory");
|
||||
|
Loading…
Reference in New Issue