diff options
author | Eric Helgeson <erichelgeson@gmail.com> | 2009-07-28 20:19:52 -0500 |
---|---|---|
committer | Eric Helgeson <erichelgeson@gmail.com> | 2009-07-28 20:19:52 -0500 |
commit | 8a6bb64fc2d460b52ba301b9bf0d43fdde4d269c (patch) | |
tree | c126f5ed9b6e582f96de864b0e354e405210f161 | |
parent | 3a8a9e292d2ad75a868b1e3173ad242a12c941e9 (diff) | |
parent | 72117294d7675434fc14303ad84711d43be003b9 (diff) |
Merge commit 'origin/0.8.x' into 0.9.x
-rw-r--r-- | db/laconica_pg.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index 24581bad0..ad34720a2 100644 --- a/db/laconica_pg.sql +++ b/db/laconica_pg.sql @@ -519,6 +519,16 @@ create table group_alias ( ); create index group_alias_group_id_idx on group_alias (group_id); +create table session ( + + id varchar(32) primary key /* comment 'session ID'*/, + session_data text /* comment 'session data'*/, + created timestamp not null DEFAULT CURRENT_TIMESTAMP /* comment 'date this record was created'*/, + modified integer DEFAULT extract(epoch from CURRENT_TIMESTAMP) /* comment 'date this record was modified'*/ +); + +create index session_modified_idx on session (modified); + /* Textsearch stuff */ |