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/v236.ts

24 lines
427 B

import { Settings } from '../../../app/models/server/raw';
import { addMigration } from '../../lib/migrations';
addMigration({
version: 236,
async up() {
await Settings.removeById('Canned Responses');
await Settings.removeById('Canned_Responses');
await Settings.update(
{
_id: 'Canned_Responses_Enable',
},
{
$set: {
group: 'Omnichannel',
},
},
{
upsert: true,
},
);
},
});