mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-11 14:20:21 +02:00
24 lines
425 B
TypeScript
24 lines
425 B
TypeScript
import { Column, Entity, ManyToOne, PrimaryGeneratedColumn } from '@n8n/typeorm';
|
|
|
|
import { ExecutionEntity } from './execution-entity';
|
|
|
|
@Entity()
|
|
export class ExecutionMetadata {
|
|
@PrimaryGeneratedColumn()
|
|
id: number;
|
|
|
|
@ManyToOne('ExecutionEntity', 'metadata', {
|
|
onDelete: 'CASCADE',
|
|
})
|
|
execution: ExecutionEntity;
|
|
|
|
@Column()
|
|
executionId: string;
|
|
|
|
@Column('text')
|
|
key: string;
|
|
|
|
@Column('text')
|
|
value: string;
|
|
}
|