Update v100.js

pull/7863/head
Guilherme Gazzo 9 years ago committed by GitHub
parent 4953bb60e9
commit 0354f58dfc
  1. 2
      server/startup/migrations/v100.js

@ -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' } });
}
});

Loading…
Cancel
Save