forked from cadence/out-of-your-element
Fix references from moving all those files
This commit is contained in:
parent
4247a3114a
commit
915c34646a
22 changed files with 67 additions and 59 deletions
|
@ -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)
|
||||
}
|
||||
|
|
8
src/db/migrations/0013-media-proxy.sql
Normal file
8
src/db/migrations/0013-media-proxy.sql
Normal file
|
@ -0,0 +1,8 @@
|
|||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE "media_proxy" (
|
||||
"permitted_hash" INTEGER NOT NULL,
|
||||
PRIMARY KEY("permitted_hash")
|
||||
) WITHOUT ROWID;
|
||||
|
||||
COMMIT;
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue