I'm getting a ReferenceError: Collection is not defined no idea what's casing the error
Migrations.add({
version: 1,
name: 'Adds email slug to topics in the db.',
//code to migrate up to version 0.1
up: function() {
Topics.update({}, {$setOnInsert:{emailSlug:""}}, {multi:true});
},
//code to migrate down to version 0
down: function() {
}
});
I'm getting a ReferenceError: Collection is not defined no idea what's casing the error