mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45: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);
|
||||
|
||||
await db.sortedSetAdd('schemaLog', Date.now(), path.basename(file, '.js'));
|
||||
return;
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
}
|
||||
|
||||
// Promisify method if necessary
|
||||
|
||||
Reference in New Issue
Block a user