mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-11 12:43:01 +02:00
allow overriding ooye data directory
This commit is contained in:
parent
d8e6de62e5
commit
42b331135d
11 changed files with 37 additions and 18 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue