__nextcloud: add database maintainer command for upgrades

After my update to 20.0.2, Nextcloud complained about missing primary
key indexes. I don't know if it existed before that version, but
adding it to make life easier .. as no one will propably install an
older version than Nextcloud 20.0.2.
This commit is contained in:
matze 2020-11-20 19:23:40 +01:00
parent c0b3f79229
commit c89bb59409
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ REMOTE
# do some maintainer stuff
occ upgrade
# gamble a bit with database maintainer commands
occ db:add-missing-primary-keys
occ db:add-missing-columns
occ db:add-missing-indices