0
0
Fork 0

Update the database schema to have a better quote structure

This commit is contained in:
Oliver-Akins 2021-08-28 22:53:34 -06:00
parent 3fc360054d
commit 527e7a2b37

View file

@ -1,8 +1,14 @@
interface quote {
text: string;
votes: number;
win_streak: number;
}
interface bracket_data { interface bracket_data {
msg: string; msg: string;
channel: string; channel: string;
quotes: string[]; quotes: quote[];
votes: { [index: number]: number };
users: { [index: string]: number }; users: { [index: string]: number };
} }