update init sh

This commit is contained in:
archer
2025-03-05 14:20:27 +08:00
parent 0bc075aa4e
commit 32ce032995

View File

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