allow overriding ooye data directory

This commit is contained in:
bbedward 2025-09-08 22:16:17 -04:00
commit 42b331135d
11 changed files with 37 additions and 18 deletions

View file

@ -16,7 +16,8 @@ const oldAT = reg.old_bridge.as_token
const newAT = reg.as_token
const oldDB = new sqlite(reg.old_bridge.database)
const db = new sqlite("ooye.db")
const {getDatabase} = require("../src/db/database")
const db = getDatabase()
db.exec(`CREATE TABLE IF NOT EXISTS half_shot_migration (
discord_channel TEXT NOT NULL,