diff options
author | Joas Schilling <coding@schilljs.com> | 2023-07-19 23:14:43 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-07-24 14:51:33 +0200 |
commit | f73f14207c6c0792396a2cab92ff33b806500867 (patch) | |
tree | 78a68adcebe0443ba1142a789aa9b51ab0523b12 /core/register_command.php | |
parent | 77c2b169a5da0d7cbb8269f8b240fa47edff90b7 (diff) | |
download | nextcloud-server-f73f14207c6c0792396a2cab92ff33b806500867.tar.gz nextcloud-server-f73f14207c6c0792396a2cab92ff33b806500867.zip |
fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index 8d57641db9c..df39ad4484c 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -109,9 +109,9 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory(\OC::$server->getSystemConfig()))); $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\AddMissingColumns::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())); if (\OC::$server->getConfig()->getSystemValueBool('debug', false)) { $application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->get(\OC\DB\Connection::class))); |