Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity] / db / create.sql
index 2033ed18c838d6ff1182f07f96e4ce70d2e64153..7d5f405f5662b4fd30038b5f6d712efa0d1b0976 100644 (file)
@@ -58,6 +58,7 @@ create table voters (
  election_id int NOT NULL, 
  session_id varchar(32) DEFAULT NULL,
  ipaddress varchar(32) DEFAULT NULL,
+ `type` varchar(100) NOT NULL,
  constraint fk_election_voter foreign key (election_id) references election(id),
  primary key (id)
 );

Benjamin Mako Hill || Want to submit a patch?