From 1dacfb375eac1586495c34110275e70215aeea32 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 22 Jun 2014 17:15:42 -0700 Subject: honour the admin censored flag in the directory, and some slow progress on extended likes --- install/database.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'install/database.sql') diff --git a/install/database.sql b/install/database.sql index 388bfdfd2..cb4846b52 100644 --- a/install/database.sql +++ b/install/database.sql @@ -575,13 +575,15 @@ CREATE TABLE IF NOT EXISTS `item_id` ( CREATE TABLE IF NOT EXISTS `likes` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `channel_id` int(11) unsigned NOT NULL DEFAULT '0', `liker` char(128) NOT NULL DEFAULT '', `likee` char(128) NOT NULL DEFAULT '', - `iid` int(11) NOT NULL DEFAULT '0', + `iid` int(10) unsigned NOT NULL DEFAULT '0', `verb` char(255) NOT NULL DEFAULT '', `target_type` char(255) NOT NULL DEFAULT '', `target` mediumtext NOT NULL, PRIMARY KEY (`id`), + KEY `channel_id` (`channel_id`), KEY `liker` (`liker`), KEY `likee` (`likee`), KEY `iid` (`iid`), -- cgit v1.2.3