mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-24 11:00:45 +03:00
ec1bbc84bc
* Fixes #1947 * Lint fix * fallback from timestamp with timezone to timestamp --------- Co-authored-by: Emrah TOY <emrah.toy@mtekbilisim.com>
27 lines
597 B
TypeScript
27 lines
597 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
|
|
}
|