mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
update init sh
This commit is contained in:
@@ -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: {
|
||||||
|
Reference in New Issue
Block a user