Skip to content
Snippets Groups Projects

Added socket logic for notifications

Merged Ghost User requested to merge Notification into Development
6 files
+ 526
21
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 11
0
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn } from "typeorm";
// temporary table for warning notifications
@Entity('Notifications')
export class NotificationEntity {
@PrimaryGeneratedColumn('uuid') id: string;
@Column({type: 'text'}) message: string;
@CreateDateColumn() issued: Date;
// TODO:
// when game creation has been implemented, add logic so that the notifications are tied to games
}
\ No newline at end of file
Loading