change the likes db structure to make it more easily importable/exportable

This commit is contained in:
redmatrix
2015-08-31 20:55:25 -07:00
parent 96c61fc5f2
commit d7cf7316be
8 changed files with 282 additions and 258 deletions

View File

@@ -565,7 +565,7 @@ function identity_basic_export($channel_id, $items = false) {
if(! $items)
return $ret;
$r = q("select likes.*, item.mid from likes left join item on likes.iid = item.id where likes.channel_id = %d",
$r = q("select * likes where channel_id = %d",
intval($channel_id)
);