import { Entity, Column, Index } from 'typeorm';
@Entity()
export class JacksonTTL {
@Column({
primary: true,
type: 'varchar',
length: 1500,
})
key!: string;
@Index('_jackson_ttl_expires_at')
type: 'bigint',
expiresAt!: number;
}