summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-27 05:15:59 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-27 05:15:59 -0700
commit48d671ac39de0ebfd36858d784d3066ecbb89c10 (patch)
tree17284cf48299d814446ceffd7c6d3ef4a87fa67d /db
parentce76d61957b22a70214d953f9580db61d09c5a66 (diff)
session storage
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index 3f8918de6..2c04f680a 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -524,3 +524,14 @@ create table group_alias (
index group_alias_group_id_idx (group_id)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
+
+create table session (
+
+ id varchar(32) primary key comment 'session ID',
+ session_data text comment 'session data',
+ created datetime not null comment 'date this record was created',
+ modified timestamp comment 'date this record was modified',
+
+ index session_modified_idx (modified)
+
+) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; \ No newline at end of file