mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
fix: upgrade scripts not run properly if schemaDate is present
Only affected VERY old installs that don't use schemaLog
This commit is contained in:
@@ -141,7 +141,8 @@ Upgrade.process = async function (files, skipCount) {
|
|||||||
process.stdout.write(' skipped\n'.grey);
|
process.stdout.write(' skipped\n'.grey);
|
||||||
|
|
||||||
await db.sortedSetAdd('schemaLog', Date.now(), path.basename(file, '.js'));
|
await db.sortedSetAdd('schemaLog', Date.now(), path.basename(file, '.js'));
|
||||||
return;
|
// eslint-disable-next-line no-continue
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Promisify method if necessary
|
// Promisify method if necessary
|
||||||
|
|||||||
Reference in New Issue
Block a user