]> projects.mako.cc - selectricity/blobdiff - db/create.sql
The summary page now had color coded tables. Red = election, green = quickvote.
[selectricity] / db / create.sql
index 7d5f405f5662b4fd30038b5f6d712efa0d1b0976..c28dd36c48e616c427b1ef8dcc3f8737c11d8288 100644 (file)
@@ -101,6 +101,19 @@ create table rankings (
  primary key (id)
 );
 
+# CREATE sessions TABLE
+######################################
+
+drop table if exists sessions;
+create table sessions (
+ id         int(11)      NOT NULL auto_increment,
+ sessid     varchar(255),
+ data       text,
+ updated_at datetime     DEFAULT  NULL,
+ primary    key (id),
+ index      session_index (sessid)
+);
+
 # CREATE users TABLE
 #####################################
 #DROP TABLE IF EXISTS `users`;

Benjamin Mako Hill || Want to submit a patch?