aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-19 23:10:13 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-24 14:51:33 +0200
commit77c2b169a5da0d7cbb8269f8b240fa47edff90b7 (patch)
tree17497ae4a3b104882bf59f7a42d9bb76dedf2c4a /core/register_command.php
parentbd0a149a4ffa2a2e398dddb99f4b0d486bfc2cb7 (diff)
downloadnextcloud-server-77c2b169a5da0d7cbb8269f8b240fa47edff90b7.tar.gz
nextcloud-server-77c2b169a5da0d7cbb8269f8b240fa47edff90b7.zip
fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 32cd4099618..8d57641db9c 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -110,8 +110,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Db\ConvertMysqlToMB4(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection(), \OC::$server->getURLGenerator(), \OC::$server->get(LoggerInterface::class)));
$application->add(new OC\Core\Command\Db\ConvertFilecacheBigInt(\OC::$server->get(\OC\DB\Connection::class)));
$application->add(\OCP\Server::get(\OC\Core\Command\Db\AddMissingIndices::class));
+ $application->add(\OCP\Server::get(\OC\Core\Command\Db\AddMissingPrimaryKeys::class));
$application->add(new OC\Core\Command\Db\AddMissingColumns(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
- $application->add(new OC\Core\Command\Db\AddMissingPrimaryKeys(\OC::$server->get(\OC\DB\Connection::class), \OC::$server->getEventDispatcher()));
if (\OC::$server->getConfig()->getSystemValueBool('debug', false)) {
$application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->get(\OC\DB\Connection::class)));