aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IDBConnection.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-07-14 10:34:09 +0200
committerJulius Härtl <jus@bitgrid.net>2023-07-14 13:11:22 +0200
commit925bcebcb6230ffdf74c39302c09da9493db7411 (patch)
tree90be852b8c6f061887ec49989550e133f2178aa8 /lib/public/IDBConnection.php
parent99aefbd75a0fea6fb722290966452f3647aa5a63 (diff)
downloadnextcloud-server-925bcebcb6230ffdf74c39302c09da9493db7411.tar.gz
nextcloud-server-925bcebcb6230ffdf74c39302c09da9493db7411.zip
feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 69ede2c8438..bfc63b2aab0 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\AddMissingIndicesEvent;
use OCP\DB\Exception;
use OCP\DB\IPreparedStatement;
use OCP\DB\IResult;
@@ -46,12 +47,12 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
*/
interface IDBConnection {
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingIndicesEvent} instead
*/
public const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES';
/**
- * @deprecated 22.0.0 this is an internal event
+ * @deprecated 22.0.0 this is an internal event, use {@see AddMissingIndicesEvent} instead
*/
public const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES';