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/v011.js

20 lines
336 B

import { Migrations } from '../../../app/migrations';
import { Rooms } from '../../../app/models';
Migrations.add({
version: 11,
up() {
/*
* Set GENERAL room to be default
*/
Rooms.update({
_id: 'GENERAL',
}, {
$set: {
default: true,
},
});
return console.log('Set GENERAL room to be default');
},
});