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

17 lines
469 B

RocketChat.Migrations.add({
version: 68,
up() {
const GoogleSiteVerification_id = RocketChat.models.Settings.findOne({ _id: 'GoogleSiteVerification_id' });
if (GoogleSiteVerification_id && GoogleSiteVerification_id.value) {
RocketChat.models.Settings.update({ _id: 'Meta_google-site-verification' }, {
$set: {
value: GoogleSiteVerification_id.value
}
});
}
RocketChat.models.Settings.remove({ _id: 'GoogleSiteVerification_id' });
}
});