preference field belongs in election_votes 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.
This commit is contained in:
Bradley M. Kuhn 2013-12-18 18:47:16 -05:00
parent b1d5cc17b6
commit cf3f3e5180

View file

@ -44,5 +44,6 @@ CREATE TABLE `election_votes` (
`id` int(11) NOT NULL auto_increment,
`choice_id` int(11) NOT NULL default '0',
`anon_id` int(11) NOT NULL default '0',
`preference` int(11) NOT NULL default '0',
PRIMARY KEY (`id`));