Fix references from moving all those files

This commit is contained in:
Cadence Ember 2024-09-12 17:11:35 +12:00
parent 4247a3114a
commit 915c34646a
22 changed files with 67 additions and 59 deletions

View file

@ -10,7 +10,7 @@
*/
module.exports = async function(db) {
const config = require("../../config")
const config = require("../../../config")
const id = Buffer.from(config.discordToken.split(".")[0], "base64").toString()
db.prepare("UPDATE OR REPLACE sim SET user_id = ? WHERE user_id = '0'").run(id)
}

View file

@ -0,0 +1,8 @@
BEGIN TRANSACTION;
CREATE TABLE "media_proxy" (
"permitted_hash" INTEGER NOT NULL,
PRIMARY KEY("permitted_hash")
) WITHOUT ROWID;
COMMIT;

View file

@ -1,7 +1,7 @@
// @ts-check
const {test} = require("supertape")
const data = require("../test/data")
const data = require("../../test/data")
const {db, select, from} = require("../passthrough")