diff options
author | Max Kostikov <max@kostikov.co> | 2019-05-08 23:30:48 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-05-08 23:30:48 +0200 |
commit | 44d5cf980a7196a49be2ff9f3742ba55929fd2d0 (patch) | |
tree | b96ddcbf095608d2a6f11f139cf00ac268ef344c /install/schema_mysql.sql | |
parent | 5bf9a9828c4000c8f293efc17bc094c026a5dc0a (diff) | |
parent | e53650d6c66a9338259dc7cd7f067b8e80d6ce19 (diff) | |
download | volse-hubzilla-44d5cf980a7196a49be2ff9f3742ba55929fd2d0.tar.gz volse-hubzilla-44d5cf980a7196a49be2ff9f3742ba55929fd2d0.tar.bz2 volse-hubzilla-44d5cf980a7196a49be2ff9f3742ba55929fd2d0.zip |
Merge branch 'dev' into 'dev'
another DB update to fix uid_mid index in item table and add xchan_photo_m index to xchan table
See merge request hubzilla/core!1641
Diffstat (limited to 'install/schema_mysql.sql')
-rw-r--r-- | install/schema_mysql.sql | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index 61cee0693..e7550455f 100644 --- a/install/schema_mysql.sql +++ b/install/schema_mysql.sql @@ -665,7 +665,7 @@ CREATE TABLE IF NOT EXISTS `item` ( KEY `mimetype` (`mimetype`), KEY `mid` (`mid`), KEY `parent_mid` (`parent_mid`), - KEY `uid_mid` (`mid`,`uid`), + KEY `uid_mid` (`uid`,`mid`), KEY `comment_policy` (`comment_policy`), KEY `layout_mid` (`layout_mid`), KEY `public_policy` (`public_policy`), @@ -1324,7 +1324,8 @@ CREATE TABLE IF NOT EXISTS `xchan` ( KEY `xchan_selfcensored` (`xchan_selfcensored`), KEY `xchan_system` (`xchan_system`), KEY `xchan_pubforum` (`xchan_pubforum`), - KEY `xchan_deleted` (`xchan_deleted`) + KEY `xchan_deleted` (`xchan_deleted`), + KEY `xchan_photo_m` (`xchan_photo_m`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `xchat` ( |