summaryrefslogtreecommitdiffstats
path: root/lib/public/IDBConnection.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-19 23:01:13 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-24 14:51:32 +0200
commitbd0a149a4ffa2a2e398dddb99f4b0d486bfc2cb7 (patch)
treead57496af8065803a6d7c6a74db323d38eb8e99b /lib/public/IDBConnection.php
parent2eded24eff5f3f0c911ffbd5841178030c8f9363 (diff)
downloadnextcloud-server-bd0a149a4ffa2a2e398dddb99f4b0d486bfc2cb7.tar.gz
nextcloud-server-bd0a149a4ffa2a2e398dddb99f4b0d486bfc2cb7.zip
feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
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 bee2edad130..7ce2537cb65 100644
--- a/lib/public/IDBConnection.php
+++ b/lib/public/IDBConnection.php
@@ -36,6 +36,7 @@ namespace OCP;
use Doctrine\DBAL\Schema\Schema;
use OCP\DB\Events\AddMissingColumnsEvent;
use OCP\DB\Events\AddMissingIndicesEvent;
+use OCP\DB\Events\AddMissingPrimaryKeyEvent;
use OCP\DB\Exception;
use OCP\DB\IPreparedStatement;
use OCP\DB\IResult;
@@ -58,12 +59,12 @@ interface IDBConnection {
public const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES';
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingPrimaryKeyEvent} instead
*/
public const ADD_MISSING_PRIMARY_KEYS_EVENT = self::class . '::ADD_MISSING_PRIMARY_KEYS';
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingPrimaryKeyEvent} instead
*/
public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class . '::CHECK_MISSING_PRIMARY_KEYS';