|
|
@ -93,7 +93,7 @@ class Database {
|
|
|
|
* Connect to the database
|
|
|
|
* Connect to the database
|
|
|
|
* @param {boolean} [testMode=false] Should the connection be
|
|
|
|
* @param {boolean} [testMode=false] Should the connection be
|
|
|
|
* started in test mode?
|
|
|
|
* started in test mode?
|
|
|
|
* @param {boolean} [autoloadModels=true] Should models be
|
|
|
|
* @param {boolean} [autoloadModels=true] Should models be
|
|
|
|
* automatically loaded?
|
|
|
|
* automatically loaded?
|
|
|
|
* @param {boolean} [noLog=false] Should logs not be output?
|
|
|
|
* @param {boolean} [noLog=false] Should logs not be output?
|
|
|
|
* @returns {Promise<void>}
|
|
|
|
* @returns {Promise<void>}
|
|
|
@ -243,7 +243,7 @@ class Database {
|
|
|
|
await setSetting("databasePatchedFiles", databasePatchedFiles);
|
|
|
|
await setSetting("databasePatchedFiles", databasePatchedFiles);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Migrate status page value in setting to "status_page" table
|
|
|
|
* Migrate status page value in setting to "status_page" table
|
|
|
|
* @returns {Promise<void>}
|
|
|
|
* @returns {Promise<void>}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|