添加db_migrate功能
This commit is contained in:
@@ -204,7 +204,7 @@ async function ensureTable(tableName, tableSchema) {
|
||||
}
|
||||
}
|
||||
|
||||
async function checkAndFixDatabase() {
|
||||
async function db_migrate() {
|
||||
console.log('[Database Integrity] Starting comprehensive database audit...');
|
||||
|
||||
// Try to check if we can even connect
|
||||
@@ -233,4 +233,4 @@ async function checkAndFixDatabase() {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = checkAndFixDatabase;
|
||||
module.exports = db_migrate;
|
||||
|
||||
Reference in New Issue
Block a user