update init sh
This commit is contained in:
parent
e1b021af71
commit
02685f7a3e
@ -23,7 +23,7 @@ const updateCollections = async () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
const updateData = async () => {
|
const updateData = async () => {
|
||||||
await MongoDatasetData.updateMany({ indexes: { $exists: true } }, [
|
await MongoDatasetData.updateMany({}, [
|
||||||
{
|
{
|
||||||
$set: {
|
$set: {
|
||||||
indexes: {
|
indexes: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user