Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Migrations.add({
  2.   version: 4,
  3.   name: "Add display={true} to call history records.",
  4.   up: function() {
  5.     let modifier = { $set: { display: true } };
  6.     CallsHistory.upsert(modifier);
  7.   },
  8.   down: function() {
  9.     let modifier = { $unset: { display } };
  10.     CallsHistory.upsert(modifier);
  11.   }
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement