Skip to content

Commit

Permalink
fix(interactive-tour): just set everyone to "off" for tour on initial…
Browse files Browse the repository at this point in the history
… migration
  • Loading branch information
lefnire committed Mar 10, 2015
1 parent 98f5037 commit aee1a3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions migrations/20150218_interactive_tour.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
db.users.update({'flags.showTour':{$ne:false}},{$set:{'flags.tour.intro':0}},{multi:1})
db.users.update({'flags.showTour':false},{$set:{'flags.tour.intro':-1}},{multi:1})
//db.users.update({'flags.showTour':{$ne:false}},{$set:{'flags.tour.intro':0}},{multi:1})
//db.users.update({'flags.showTour':false},{$set:{'flags.tour.intro':-1}},{multi:1})
db.users.update({},{$set:{'flags.tour.intro':-1}},{multi:1})

0 comments on commit aee1a3c

Please sign in to comment.