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/models/raw/Migrations.ts

15 lines
414 B

import type { IControl } from '@rocket.chat/core-typings';
import type { IMigrationsModel } from '@rocket.chat/model-typings';
import type { Db } from 'mongodb';
import { BaseRaw } from './BaseRaw';
export class MigrationsRaw extends BaseRaw<IControl> implements IMigrationsModel {
constructor(db: Db) {
super(db, 'migrations', undefined, {
collectionNameResolver(name) {
return name;
},
});
}
}