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/apps/meteor/server/startup/migrations/v289.ts

22 lines
474 B

import { Settings } from '@rocket.chat/models';
import { addMigration } from '../../lib/migrations';
addMigration({
version: 289,
async up() {
const deprecatedSettings = [
'LiveStream & Broadcasting',
'Livestream_enabled',
'Broadcasting_enabled',
'Broadcasting_client_id',
'Broadcasting_client_secret',
'Broadcasting_api_key',
'Broadcasting_media_server_url',
];
await Settings.deleteMany({
_id: { $in: deprecatedSettings },
});
},
});