蔡仲明 (Romulus Urakagi Tsai) 5 лет назад
Родитель
Сommit
b80396f627
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      server/migrations.js

+ 0 - 1
server/migrations.js

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