mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
⚡ Added migrations to Sqlite and Mysql
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
Column,
|
||||
Entity,
|
||||
PrimaryColumn,
|
||||
Index,
|
||||
} from 'typeorm';
|
||||
|
||||
import {
|
||||
@@ -9,15 +9,16 @@ import {
|
||||
} from '../../Interfaces';
|
||||
|
||||
@Entity()
|
||||
@Index(['webhookPath', 'method'], { unique: true })
|
||||
export class WebhookEntity implements IWebhookDb {
|
||||
|
||||
@Column()
|
||||
workflowId: number;
|
||||
|
||||
@PrimaryColumn()
|
||||
@Column()
|
||||
webhookPath: string;
|
||||
|
||||
@PrimaryColumn()
|
||||
@Column()
|
||||
method: string;
|
||||
|
||||
@Column()
|
||||
|
||||
Reference in New Issue
Block a user