aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Db/AddMissingColumns.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Db/AddMissingColumns.php')
-rw-r--r--core/Command/Db/AddMissingColumns.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Db/AddMissingColumns.php b/core/Command/Db/AddMissingColumns.php
index 5794b95b76f..3ace75b4eef 100644
--- a/core/Command/Db/AddMissingColumns.php
+++ b/core/Command/Db/AddMissingColumns.php
@@ -63,12 +63,13 @@ class AddMissingColumns extends Command {
->setDescription('Add missing optional columns to the database tables');
}
- protected function execute(InputInterface $input, OutputInterface $output) {
+ protected function execute(InputInterface $input, OutputInterface $output): int {
$this->addCoreColumns($output);
// Dispatch event so apps can also update columns if needed
$event = new GenericEvent($output);
$this->dispatcher->dispatch(IDBConnection::ADD_MISSING_COLUMNS_EVENT, $event);
+ return 0;
}
/**