Modify database for highcouncil elections.

This commit is contained in:
2023-12-16 21:53:11 -05:00
parent b292f956e8
commit 1c33139f00
+5 -2
View File
@@ -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)
);