From: Evan Prodromou Date: Thu, 26 Feb 2009 21:22:41 +0000 (-0800) Subject: add conversation id to notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=478192fa3b2375a0ff0a5ff03956381e5da7a6ac;p=quix0rs-gnu-social.git add conversation id to notice --- diff --git a/db/laconica.sql b/db/laconica.sql index 012270b51e..254cf5fabf 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -114,8 +114,10 @@ create table notice ( reply_to integer comment 'notice replied to (usually a guess)' references notice (id), is_local tinyint default 0 comment 'notice was generated by a user', source varchar(32) comment 'source of comment, like "web", "im", or "clientname"', + conversation integer comment 'id of root notice in this conversation' references notice (id), index notice_profile_id_idx (profile_id), + index notice_conversation_idx (conversation), index notice_created_idx (created), FULLTEXT(content) ) ENGINE=MyISAM CHARACTER SET utf8 COLLATE utf8_bin;