oneuptime/Common/Models/GlobalConfig.ts
2022-04-27 20:38:55 +01:00

24 lines
281 B
TypeScript
Executable File

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
@Entity({
name: "GlobalConfig"
})
export default class GlobalConfig extends BaseModel {
@Column()
name!: string;
@Column()
value!: Object;
@Column()
iv!: Buffer;
}