aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkesselb <mail@danielkesselberg.de>2020-11-13 15:39:03 +0100
committerGitHub <noreply@github.com>2020-11-13 15:39:03 +0100
commitfd76bf18eabc57812311d19fe224d967537ada38 (patch)
tree40fa3e75286ee160af117a6dd9d4e5271851ea33
parenta4223b017e323d078ba418afbd5274d74ba8d717 (diff)
parent7224db548d52ed4d6bca58ceda49de7333e06c0e (diff)
downloadnextcloud-server-fd76bf18eabc57812311d19fe224d967537ada38.tar.gz
nextcloud-server-fd76bf18eabc57812311d19fe224d967537ada38.zip
Merge pull request #24085 from nextcloud/fix/register-add-missing-primary-keys
Register new command db:add-missing-primary-keys
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index af6bd677251..46b0c065881 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -101,6 +101,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Db\ConvertFilecacheBigInt(\OC::$server->getDatabaseConnection()));
$application->add(new OC\Core\Command\Db\AddMissingIndices(\OC::$server->getDatabaseConnection(), \OC::$server->getEventDispatcher()));
$application->add(new OC\Core\Command\Db\AddMissingColumns(\OC::$server->getDatabaseConnection(), \OC::$server->getEventDispatcher()));
+ $application->add(new OC\Core\Command\Db\AddMissingPrimaryKeys(\OC::$server->getDatabaseConnection(), \OC::$server->getEventDispatcher()));
$application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->getDatabaseConnection()));
$application->add(new OC\Core\Command\Db\Migrations\MigrateCommand(\OC::$server->getDatabaseConnection()));
$application->add(new OC\Core\Command\Db\Migrations\GenerateCommand(\OC::$server->getDatabaseConnection(), \OC::$server->getAppManager()));