summaryrefslogtreecommitdiffstats
path: root/lib/public/IDBConnection.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-19 22:36:59 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-24 14:51:32 +0200
commit2eded24eff5f3f0c911ffbd5841178030c8f9363 (patch)
tree3f073316f1aac7cd4669fbb2216ab12ed466ff07 /lib/public/IDBConnection.php
parent7548e62181832dca36fa1a6ad4ec715d71fe83e6 (diff)
downloadnextcloud-server-2eded24eff5f3f0c911ffbd5841178030c8f9363.tar.gz
nextcloud-server-2eded24eff5f3f0c911ffbd5841178030c8f9363.zip
feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/IDBConnection.php')
-rw-r--r--lib/public/IDBConnection.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php
index bfc63b2aab0..bee2edad130 100644
--- a/lib/public/IDBConnection.php
+++ b/lib/public/IDBConnection.php
@@ -34,6 +34,7 @@
namespace OCP;
use Doctrine\DBAL\Schema\Schema;
+use OCP\DB\Events\AddMissingColumnsEvent;
use OCP\DB\Events\AddMissingIndicesEvent;
use OCP\DB\Exception;
use OCP\DB\IPreparedStatement;
@@ -67,12 +68,12 @@ interface IDBConnection {
public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class . '::CHECK_MISSING_PRIMARY_KEYS';
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingColumnsEvent} instead
*/
public const ADD_MISSING_COLUMNS_EVENT = self::class . '::ADD_MISSING_COLUMNS';
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingColumnsEvent} instead
*/
public const CHECK_MISSING_COLUMNS_EVENT = self::class . '::CHECK_MISSING_COLUMNS';