Initial work on stats

This commit is contained in:
Dragory 2019-12-01 15:57:35 +02:00
parent 26c460e67a
commit 56fb432c7c
6 changed files with 347 additions and 4 deletions

View file

@ -0,0 +1,20 @@
import { Entity, Column, PrimaryColumn, CreateDateColumn } from "typeorm";
@Entity("stats")
export class StatValue {
@Column()
@PrimaryColumn()
id: string;
@Column()
guild_id: string;
@Column()
source: string;
@Column() key: string;
@Column() value: number;
@Column() created_at: string;
}