[foundation-web] preference field belongs in election_votes table.
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [foundation-web] preference field belongs in election_votes table.
- Date: Mon, 7 Jul 2014 21:37:18 +0000 (UTC)
commit 2d324ff2e19ac26dcdc3c7923fb0ff011580da90
Author: Bradley M. Kuhn <bkuhn ebb org>
Date: Wed Dec 18 18:47:16 2013 -0500
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.
foundation.gnome.org/vote/include/schema.sql | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/foundation.gnome.org/vote/include/schema.sql b/foundation.gnome.org/vote/include/schema.sql
index ec44fb1..8ad476a 100644
--- a/foundation.gnome.org/vote/include/schema.sql
+++ b/foundation.gnome.org/vote/include/schema.sql
@@ -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`));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]