feat: add Dockerfiles and MySQL TypeORM wiring for center/guild backends

This commit is contained in:
nav
2026-05-12 08:34:35 +00:00
parent 88bec71cf8
commit c55666b481
15 changed files with 2663 additions and 46 deletions

View File

@@ -0,0 +1,20 @@
import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
@Entity('channels')
export class Channel {
@PrimaryGeneratedColumn('uuid')
id!: string;
@Column()
guildId!: string;
@Column()
name!: string;
@Index()
@Column({ default: 0 })
lastSeq!: number;
@CreateDateColumn()
createdAt!: Date;
}