X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=db%2Flaconica.sql;h=f0110717606304fbdf228fd9303edcf73670191a;hb=8641cb4591d2b8385a661ea743833392ef45ff8b;hp=3f8918de62d3b8bb9d5ebbadb79834162f8f6638;hpb=abd74673921cd119e05089d3cce2f0a37fdb49fe;p=quix0rs-gnu-social.git diff --git a/db/laconica.sql b/db/laconica.sql index 3f8918de62..f011071760 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -524,3 +524,26 @@ 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; + +create table deleted_notice ( + + id integer primary key comment 'identity of notice', + profile_id integer not null comment 'author of the notice', + uri varchar(255) unique key comment 'universally unique identifier, usually a tag URI', + created datetime not null comment 'date the notice record was created', + deleted datetime not null comment 'date the notice record was created', + + index deleted_notice_profile_id_idx (profile_id) + +) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;