mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
26 lines
303 B
TypeScript
26 lines
303 B
TypeScript
import {
|
|
Column,
|
|
Entity,
|
|
PrimaryColumn,
|
|
} from 'typeorm';
|
|
|
|
import {
|
|
IWebhookDb,
|
|
} from '../../';
|
|
|
|
@Entity()
|
|
export class WebhookEntity implements IWebhookDb {
|
|
|
|
@Column()
|
|
workflowId: number;
|
|
|
|
@PrimaryColumn()
|
|
webhookPath: string;
|
|
|
|
@PrimaryColumn()
|
|
method: string;
|
|
|
|
@Column()
|
|
node: string;
|
|
}
|