mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-24 00:12:06 +00:00
13 lines
415 B
TypeScript
13 lines
415 B
TypeScript
import PostgresDatabase from '../Infrastructure/PostgresDatabase';
|
|
import Model from 'Model/Models/SmsLog';
|
|
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();
|