Splitting br3nda's merge 97db6e17b3f76e9a6acf87ddbad47ba54e9b1a3b
Add session table to pg.sql
This commit is contained in:
parent
c85b6155eb
commit
72117294d7
|
@ -519,6 +519,16 @@ create table group_alias (
|
||||||
);
|
);
|
||||||
create index group_alias_group_id_idx on group_alias (group_id);
|
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 */
|
/* Textsearch stuff */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user