Merge branch 'lib-change' of https://github.com/PDIS/wekan into lib-change

This commit is contained in:
Romulus Urakagi Tsai 2020-05-20 15:12:55 +08:00
commit af7c74b2d3
82 changed files with 3687 additions and 459 deletions

View file

@ -1045,7 +1045,6 @@ Migrations.add('add-sort-field-to-boards', () => {
import { MongoInternals } from 'meteor/mongo';
Migrations.add('change-attachment-library', () => {
const http = require('http');
const fs = require('fs');
CFSAttachments.find().forEach(file => {
const bucket = new MongoInternals.NpmModule.GridFSBucket(MongoInternals.defaultRemoteCollectionDriver().mongo.db, {bucketName: 'cfs_gridfs.attachments'});