diff options
author | MichaIng <micha@dietpi.com> | 2020-11-13 00:02:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 00:02:05 +0100 |
commit | 7224db548d52ed4d6bca58ceda49de7333e06c0e (patch) | |
tree | 3dd9a438ee19baa97250e3e01b04d2ba7ba669c4 | |
parent | 35be4fdb019da658a824f41dc4bf0f415c032cb8 (diff) | |
download | nextcloud-server-7224db548d52ed4d6bca58ceda49de7333e06c0e.tar.gz nextcloud-server-7224db548d52ed4d6bca58ceda49de7333e06c0e.zip |
Register new command db:add-missing-primary-keys
Introduced with: https://github.com/nextcloud/server/commit/d5df033ede1f2b19b87c365b1f808130023edf17
Signed-off-by: MichaIng <micha@dietpi.com>
-rw-r--r-- | core/register_command.php | 1 |
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())); |