foundationmembers was a table specific to the GNOME Foundation. This new
table, election_voters, allows creation of an electorate based on a list.
README is updated to explain how to use this table.
It's clear from the PHP code that there should be an integer field called
'preference' in the election_votes table. I suspect that at some point there
was an ALTER TABLE done that wasn't reflected in the schema.sql file.
GNOME's Election committee was previously hard-code here, but the code is
more reusable if it is no longer hard-coded. The variables still default to
GNOME's details, but can be overridden with the configuration file.
With this change, schema.sql can be run directly from the mysql command line,
with a command such as:
$ mysql -u root -p -D dbname < .../vote/include/schema.sql