n8n/packages/cli/src/databases/repositories/execution.repository.ts

11 lines
320 B
TypeScript
Raw Normal View History

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