oneuptime/CommonServer/Services/CallLogService.ts

13 lines
416 B
TypeScript
Raw Normal View History

2023-06-16 09:40:27 +00:00
import PostgresDatabase from '../Infrastructure/PostgresDatabase';
import Model from 'Model/Models/CallLog';
import DatabaseService from './DatabaseService';
export class Service extends DatabaseService<Model> {
public constructor(postgresDatabase?: PostgresDatabase) {
super(Model, postgresDatabase);
this.hardDeleteItemsOlderThanInDays('createdAt', 30);
}
}
export default new Service();