This commit is contained in:
Benjamin Toby
2025-02-12 17:56:44 +01:00
parent a5c3d59d24
commit 1b48c07ee8
431 changed files with 1665 additions and 827 deletions
-5
View File
@@ -6,10 +6,6 @@ console.log(`Initializing Database ...`);
/**
* # Declare Global Variables
*/
declare global {
var DB_CONN: ServerlessMysql;
var DSQL_DB_CONN: ServerlessMysql;
}
global.DSQL_DB_CONN = mysql({
config: {
@@ -18,7 +14,6 @@ global.DSQL_DB_CONN = mysql({
password: process.env.DSQL_DB_PASSWORD,
database: process.env.DSQL_DB_NAME,
charset: "utf8mb4",
// ssl: grabDbSSL(),
},
});