The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/server/startup/migrations/v170.js

13 lines
329 B

import { Migrations } from '../../../app/migrations';
import { LivechatRooms } from '../../../app/models/server';
Migrations.add({
version: 170,
up() {
LivechatRooms.update(
{ t: 'l', whatsAppGateway: { $exists: 1 } },
{ $rename: { whatsAppGateway: 'customFields.whatsAppGateway' } },
{ multi: true },
);
},
});