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