feat(sprint3): EconomyModule TetardCoin + TwitchModule EventSub — migration + 36 tests
This commit is contained in:
10
src/twitch/entities/processed-event.entity.ts
Normal file
10
src/twitch/entities/processed-event.entity.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Entity, PrimaryColumn, CreateDateColumn } from 'typeorm';
|
||||
|
||||
@Entity('processed_events')
|
||||
export class ProcessedEvent {
|
||||
@PrimaryColumn({ type: 'varchar', length: 255 })
|
||||
id: string;
|
||||
|
||||
@CreateDateColumn({ name: 'processed_at' })
|
||||
processedAt: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user