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