From e36b2425aa85066c2a2a1d349ed65b13dc52ddbf Mon Sep 17 00:00:00 2001 From: imcompiling Date: Fri, 20 Sep 2024 21:15:09 -0400 Subject: [PATCH] Add new tables for clan points. --- database_setup/database.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/database_setup/database.sql b/database_setup/database.sql index 26e1fb9..c176a98 100644 --- a/database_setup/database.sql +++ b/database_setup/database.sql @@ -59,4 +59,19 @@ CREATE TABLE EventPointsLimit ( Points int unsigned DEFAULT 0, Week varchar(7) not null, PRIMARY KEY (UserId, Week) +); + +CREATE TABLE ClanPoints ( + QuarterName varchar(30) not null, + UserId varchar(32) not null, + DiscordMember boolean not null, + Points int unsigned DEFAULT 0, + PRIMARY KEY (QuarterName, UserId) +); + +CREATE TABLE ClanPointsLimit ( + UserId varchar(32) not null, + Points int unsigned DEFAULT 0, + Week varchar(7) not null, + PRIMARY KEY (UserId, Week) ); \ No newline at end of file