Local database? #136
-
I was reworking database.js to run locally instead of on fishymine's database. Here's the code I have so far: const connect = require("@databases/sqlite");
const {sql} = connect;
const db = connect("database");
async function func(...args){
return await db.query(sql(...args));
}
module.exports = {sql: func}; But my problem is it complains about missing tables when I try to play the game. I have almost no knowledge on SQL. Can someone please help me? |
Beta Was this translation helpful? Give feedback.
Answered by
mollthecoder
Jun 16, 2022
Replies: 1 comment
-
Not needed anymore |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mollthecoder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not needed anymore