Allow for abstain votes.
build_develop / build (push) Successful in 1m24s

This commit is contained in:
2023-11-02 19:57:54 -04:00
parent 5b1b4cfecb
commit ff68e7df1c
+1 -1
View File
@@ -19,7 +19,7 @@ CREATE TABLE CouncilMembers(
CREATE TABLE Votes( CREATE TABLE Votes(
ElectionCycle varchar(30) not null unique, ElectionCycle varchar(30) not null unique,
VoterId bigint unsigned not null, VoterId bigint unsigned not null,
VotedForId bigint unsigned not null, VotedForId bigint unsigned,
FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle), FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle),
PRIMARY KEY (ElectionCycle, VoterId) PRIMARY KEY (ElectionCycle, VoterId)
); );