We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41af502 commit 6211f33Copy full SHA for 6211f33
migrations/006-event-teams.js
@@ -9,7 +9,9 @@ exports.up = function(done) {
9
console.log('\nCreating team for each event');
10
11
mongoose.model('Team').collection.dropAllIndexes(function (err) {
12
- if (err) return done(err);
+ if (err) {
13
+ console.log('Could not drop indexes. If you are starting with an empty DB, you can ignore this error');
14
+ }
15
16
Event.getEvents(function(err, events) {
17
async.each(events, function(event, done) {
0 commit comments