mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00
update init sh
This commit is contained in:
@@ -23,7 +23,7 @@ const updateCollections = async () => {
|
||||
);
|
||||
};
|
||||
const updateData = async () => {
|
||||
await MongoDatasetData.updateMany({ indexes: { $exists: true } }, [
|
||||
await MongoDatasetData.updateMany({}, [
|
||||
{
|
||||
$set: {
|
||||
indexes: {
|
||||
|
Reference in New Issue
Block a user