update init sh

This commit is contained in:
archer
2025-03-05 14:20:27 +08:00
parent e1b021af71
commit 02685f7a3e

View File

@@ -23,7 +23,7 @@ const updateCollections = async () => {
);
};
const updateData = async () => {
await MongoDatasetData.updateMany({ indexes: { $exists: true } }, [
await MongoDatasetData.updateMany({}, [
{
$set: {
indexes: {