From 821acf0cd8bbd486096e61577383cccb9796559a Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Sun, 16 Jul 2023 20:58:34 -0600 Subject: [PATCH] feat: added _ready/ready vars to MySql --- backend/sql/mysql.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/sql/mysql.ts b/backend/sql/mysql.ts index 8c55d8f..4dc1d84 100644 --- a/backend/sql/mysql.ts +++ b/backend/sql/mysql.ts @@ -7,6 +7,9 @@ type TableNamesType = 'assfiles' | 'assusers' | 'asstokens'; export class MySql { private static _pool: Pool; + private static _ready: boolean = false; + public static get ready() { return MySql._ready; } + /** * Quick function for creating a simple JSON table */