mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 13:01:11 +03:00
e422ce287b
* indexing * fix for multiple files upsert * fix default Postgres port * fix SQLite node description * add MySQLRecordManager node * fix MySQL unique index * add upsert history * update jsx ui * lint-fix * update dialog details * update llamaindex pinecone --------- Co-authored-by: chungyau97 <chungyau97@gmail.com>
27 lines
603 B
TypeScript
27 lines
603 B
TypeScript
/* eslint-disable */
|
|
import { Entity, Column, CreateDateColumn, UpdateDateColumn, PrimaryGeneratedColumn } from 'typeorm'
|
|
import { IVariable } from '../../Interface'
|
|
|
|
@Entity()
|
|
export class Variable implements IVariable {
|
|
@PrimaryGeneratedColumn('uuid')
|
|
id: string
|
|
|
|
@Column()
|
|
name: string
|
|
|
|
@Column({ nullable: true, type: 'text' })
|
|
value: string
|
|
|
|
@Column({ default: 'string', type: 'text' })
|
|
type: string
|
|
|
|
@Column({ type: 'timestamp' })
|
|
@CreateDateColumn()
|
|
createdDate: Date
|
|
|
|
@Column({ type: 'timestamp' })
|
|
@UpdateDateColumn()
|
|
updatedDate: Date
|
|
}
|