import { PrimaryGeneratedUuidV7Column } from 'src/decorators'; import { Column, CreateDateColumn, Generated, Table, Timestamp } from 'src/sql-tools'; @Table('memory_audit') export class MemoryAuditTable { @PrimaryGeneratedUuidV7Column() id!: Generated; @Column({ type: 'uuid', index: true }) memoryId!: string; @Column({ type: 'uuid', index: true }) userId!: string; @CreateDateColumn({ default: () => 'clock_timestamp()', index: true }) deletedAt!: Generated; }