mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
17 lines
266 B
TypeScript
17 lines
266 B
TypeScript
|
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
||
|
|
||
|
@Entity()
|
||
|
export class Variables {
|
||
|
@PrimaryGeneratedColumn()
|
||
|
id: number;
|
||
|
|
||
|
@Column('text')
|
||
|
key: string;
|
||
|
|
||
|
@Column('text', { default: 'string' })
|
||
|
type: string;
|
||
|
|
||
|
@Column('text')
|
||
|
value: string;
|
||
|
}
|