feat(guild-model): complete guild/channel/dm entities

This commit is contained in:
nav
2026-05-12 09:01:24 +00:00
parent 2e2e217b5f
commit 46f138328e
7 changed files with 64 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from 'typeorm';
@Entity('dm_conversations')
export class DmConversation {
@PrimaryGeneratedColumn('uuid')
id!: string;
@Column({ type: 'varchar', length: 64, unique: true })
pairKey!: string;
@Column({ type: 'varchar', length: 255, nullable: true })
topic!: string | null;
@CreateDateColumn()
createdAt!: Date;
}