aboutsummaryrefslogtreecommitdiffstats
path: root/install/schema_mysql.sql
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-31 20:55:25 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-31 20:55:25 -0700
commitd7cf7316beaecc6efacc01d56dbb066af8174416 (patch)
tree49a556c5055a0c75646e53ffb867da4aec08496e /install/schema_mysql.sql
parent96c61fc5f26af06bf43ecae0819c095141e18db7 (diff)
downloadvolse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.tar.gz
volse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.tar.bz2
volse-hubzilla-d7cf7316beaecc6efacc01d56dbb066af8174416.zip
change the likes db structure to make it more easily importable/exportable
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r--install/schema_mysql.sql2
1 files changed, 2 insertions, 0 deletions
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`),