feat(core): Execution curation (#10342)
Co-authored-by: oleg <me@olegivaniv.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import { idStringifier } from '../utils/transformers';
|
||||
import type { ExecutionData } from './execution-data';
|
||||
import type { ExecutionMetadata } from './execution-metadata';
|
||||
import { WorkflowEntity } from './workflow-entity';
|
||||
import type { ExecutionAnnotation } from '@/databases/entities/execution-annotation';
|
||||
|
||||
@Entity()
|
||||
@Index(['workflowId', 'id'])
|
||||
@@ -65,6 +66,9 @@ export class ExecutionEntity {
|
||||
@OneToOne('ExecutionData', 'execution')
|
||||
executionData: Relation<ExecutionData>;
|
||||
|
||||
@OneToOne('ExecutionAnnotation', 'execution')
|
||||
annotation?: Relation<ExecutionAnnotation>;
|
||||
|
||||
@ManyToOne('WorkflowEntity')
|
||||
workflow: WorkflowEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user