Skip to content

Commit

Permalink
Update v100.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Aug 24, 2017
1 parent 4953bb6 commit 0354f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/startup/migrations/v100.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
RocketChat.Migrations.add({
version: 100,
up() {
RocketChat.models.Subscriptions.update({$exists:{audioNotification:1}}, { $rename: { 'audioNotification': 'audioNotifications' } });
RocketChat.models.Subscriptions.update({audioNotification:{$exists:1}}, { $rename: { 'audioNotification': 'audioNotifications' } });
}
});

0 comments on commit 0354f58

Please sign in to comment.