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

15 lines
351 B

import { AppsTokens } from '@rocket.chat/models';
import { addMigration } from '../../lib/migrations';
addMigration({
version: 273,
async up() {
try {
await AppsTokens.col.dropIndex('userId_1');
} catch (error: unknown) {
console.warn('Error dropping index for _raix_push_app_tokens, continuing...');
console.warn(error);
}
},
});