diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-11-27 13:24:33 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-09 12:13:34 +0100 |
commit | c77e259cfe102f2ca9643eab9bbb6ee72cd3ea58 (patch) | |
tree | 9ca161e30c5ee76aa84c142fe31ee445c32ffc01 /core/Application.php | |
parent | 3c9218ab26ae943e3b072ad32c5d2bf2e77ac285 (diff) | |
download | nextcloud-server-c77e259cfe102f2ca9643eab9bbb6ee72cd3ea58.tar.gz nextcloud-server-c77e259cfe102f2ca9643eab9bbb6ee72cd3ea58.zip |
Add missing index on oc_cards and rename if it previously existed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index bda271c41fe..068aa49a84a 100644 --- a/core/Application.php +++ b/core/Application.php @@ -148,6 +148,10 @@ class Application extends App { if (!$table->hasIndex('cards_abid')) { $subject->addHintForMissingSubject($table->getName(), 'cards_abid'); } + + if (!$table->hasIndex('cards_abiduri')) { + $subject->addHintForMissingSubject($table->getName(), 'cards_abiduri'); + } } if ($schema->hasTable('cards_properties')) { |