diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-08 20:12:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-05-08 20:12:54 +0200 |
commit | e53650d6c66a9338259dc7cd7f067b8e80d6ce19 (patch) | |
tree | b96ddcbf095608d2a6f11f139cf00ac268ef344c /install/schema_postgres.sql | |
parent | 5bf9a9828c4000c8f293efc17bc094c026a5dc0a (diff) | |
download | volse-hubzilla-e53650d6c66a9338259dc7cd7f067b8e80d6ce19.tar.gz volse-hubzilla-e53650d6c66a9338259dc7cd7f067b8e80d6ce19.tar.bz2 volse-hubzilla-e53650d6c66a9338259dc7cd7f067b8e80d6ce19.zip |
another DB update to fix uid_mid index in item table and add xchan_photo_m index to xchan table
Diffstat (limited to 'install/schema_postgres.sql')
-rw-r--r-- | install/schema_postgres.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index e56e054b0..c1c222b37 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -650,7 +650,7 @@ create index "item_revision" on item ("revision"); create index "item_mimetype" on item ("mimetype"); create index "item_mid" on item ("mid"); create index "item_parent_mid" on item ("parent_mid"); -create index "item_uid_mid" on item ("mid","uid"); +create index "item_uid_mid" on item ("uid","mid"); create index "item_public_policy" on item ("public_policy"); create index "item_comment_policy" on item ("comment_policy"); create index "item_layout_mid" on item ("layout_mid"); @@ -1312,6 +1312,7 @@ create index "xchan_selfcensored" on xchan ("xchan_selfcensored"); create index "xchan_system" on xchan ("xchan_system"); create index "xchan_pubforum" on xchan ("xchan_pubforum"); create index "xchan_deleted" on xchan ("xchan_deleted"); +create index "xchan_photo_m" on xchan ("xchan_photo_m"); CREATE TABLE "xchat" ( "xchat_id" serial NOT NULL, |