diff --git a/database_setup/database.sql b/database_setup/database.sql index d1d6e75..f959ccd 100644 --- a/database_setup/database.sql +++ b/database_setup/database.sql @@ -19,7 +19,7 @@ CREATE TABLE CouncilMembers( CREATE TABLE Votes( ElectionCycle varchar(30) not null unique, VoterId bigint unsigned not null, - VotedForId bigint unsigned not null, + VotedForId bigint unsigned, FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle), PRIMARY KEY (ElectionCycle, VoterId) );