From 1c33139f007c1e889c4a9b9fd46fdfb0de57b1fb Mon Sep 17 00:00:00 2001 From: imcompiling Date: Sat, 16 Dec 2023 21:53:11 -0500 Subject: [PATCH] Modify database for highcouncil elections. --- database_setup/database.sql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/database_setup/database.sql b/database_setup/database.sql index 64f77a9..4ae81a5 100644 --- a/database_setup/database.sql +++ b/database_setup/database.sql @@ -8,11 +8,14 @@ CREATE TABLE ElectionInformation( CREATE TABLE CouncilMembers( ElectionCycle varchar(30) not null, MemberId bigint unsigned not null, - SpeechMsgId bigint unsigned not null, + SpeechMsgId bigint unsigned not null, Elected boolean DEFAULT false, - HighCouncilElect boolean DEFAULT false, + DiscordManagerElect boolean DEFAULT false, DiscordManager boolean DEFAULT false, + ClanLeaderElect boolean DEFAULT false, ClanLeader boolean DEFAULT false, + DiscordManagerSpeechId bigint unsigned, + ClanLeaderSpeechId bigint unsigned, FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle), PRIMARY KEY (ElectionCycle, MemberId) );