diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-11-16 08:50:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 08:50:01 +0100 |
commit | d334dd14552e9678b3518790b5aae97448854d66 (patch) | |
tree | 6e8197dde0945737482ff93bd84436b619886cd6 /core | |
parent | 9abc65c57388b0091c0bd8b098123ab700ee1956 (diff) | |
parent | e0dbfdf575506d5bc2a7857a17d923b2a82a8d5f (diff) | |
download | nextcloud-server-d334dd14552e9678b3518790b5aae97448854d66.tar.gz nextcloud-server-d334dd14552e9678b3518790b5aae97448854d66.zip |
Merge pull request #24106 from nextcloud/backport/24085/stable20
[stable20] Register new command db:add-missing-primary-keys
Diffstat (limited to 'core')
-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 840c73484bf..507dcfc3d41 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())); |