[foundation-web] commented on election_tmp_tokens which is essential to the election



commit 6fad561ea77fe2341bf97ea8703d1f8ed6a4c522
Author: Bradley M. Kuhn <bkuhn ebb org>
Date:   Wed Dec 18 18:55:23 2013 -0500

    commented on election_tmp_tokens which is essential to the election

 foundation.gnome.org/vote/include/schema.sql |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/foundation.gnome.org/vote/include/schema.sql b/foundation.gnome.org/vote/include/schema.sql
index 8ad476a..0eea9c4 100644
--- a/foundation.gnome.org/vote/include/schema.sql
+++ b/foundation.gnome.org/vote/include/schema.sql
@@ -22,6 +22,11 @@ DROP TABLE IF EXISTS `election_choices`;
    `choice` varchar(150) NOT NULL default '',
    PRIMARY KEY  (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8 ;
+
+/* Data in election_tmp_tokens only lives while the election is ongoing, and
+** the PHP code deletes these entries when it records votes.
+*/
+
 DROP TABLE IF EXISTS `election_tmp_tokens`;
  CREATE TABLE `election_tmp_tokens` (
    `election_id` int(11) NOT NULL default '0',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]