From d7cf7316beaecc6efacc01d56dbb066af8174416 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 31 Aug 2015 20:55:25 -0700 Subject: change the likes db structure to make it more easily importable/exportable --- install/schema_mysql.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install/schema_mysql.sql') diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index e3b9413f5..397848e9e 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -772,6 +772,7 @@ CREATE TABLE IF NOT EXISTS `likes` ( `liker` char(128) NOT NULL DEFAULT '', `likee` char(128) NOT NULL DEFAULT '', `iid` int(11) unsigned NOT NULL DEFAULT '0', + `i_mid` char(255) NOT NULL DEFAULT '', `verb` char(255) NOT NULL DEFAULT '', `target_type` char(255) NOT NULL DEFAULT '', `target_id` char(128) NOT NULL DEFAULT '', @@ -780,6 +781,7 @@ CREATE TABLE IF NOT EXISTS `likes` ( KEY `liker` (`liker`), KEY `likee` (`likee`), KEY `iid` (`iid`), + KEY `i_mid` (`i_mid`), KEY `verb` (`verb`), KEY `target_type` (`target_type`), KEY `channel_id` (`channel_id`), -- cgit v1.2.3