n8n/packages/cli/src/databases/repositories/executionMetadata.repository.ts
कारतोफ्फेलस्क्रिप्ट™ 10f8c35dbb
refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) (#5953)
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2023-04-12 10:59:14 +02:00

11 lines
336 B
TypeScript

import { Service } from 'typedi';
import { DataSource, Repository } from 'typeorm';
import { ExecutionMetadata } from '../entities/ExecutionMetadata';
@Service()
export class ExecutionMetadataRepository extends Repository<ExecutionMetadata> {
constructor(dataSource: DataSource) {
super(ExecutionMetadata, dataSource.manager);
}
}