import { Entity, Column, Index } from 'typeorm';
@Entity({ name: 'jackson_store' })
export class JacksonStore {
@Column({
primary: true,
type: 'varchar',
length: 250,
})
key!: string;
type: 'text',
value!: string;
length: 64,
nullable: true,
iv?: string;
tag?: string;
type: 'timestamp',
default: () => 'CURRENT_TIMESTAMP',
nullable: false,
createdAt?: Date;
modifiedAt?: string;
@Index('_jackson_store_namespace')
namespace?: string;
}