update init sh

This commit is contained in:
archer 2025-03-05 14:20:27 +08:00
parent 0bc075aa4e
commit 32ce032995
No known key found for this signature in database
GPG Key ID: 4446499B846D4A9E

View File

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