Added a method, views, and corresponding route so that a user can track the
[selectricity-live] / db / create.sql
index 7b3fef5600b061a043c5c3972abe066aa75df79f..a5a2e0a0fb54b1458ae5e1abb8a8394fb0b454d1 100644 (file)
@@ -3,7 +3,7 @@
 
 drop table if exists elections;
 create table elections (
- id int NOT NULL auto_increment,
+ id   int NOT NULL auto_increment,
  name varchar(100) NOT NULL, 
  description TEXT NOT NULL, 
  anonymous tinyint NOT NULL DEFAULT 1, 
@@ -11,6 +11,7 @@ create table elections (
  enddate datetime NOT NULL, 
  active tinyint NOT NULL DEFAULT 0,
  user_id int NULL,
+ quickuser varchar(255) NULL, #stores session_id for quickvote creators
  election_method varchar(100) DEFAULT 'ssd',
  `type` varchar(100) NOT NULL,
  primary key (id),

Benjamin Mako Hill || Want to submit a patch?