From 3d075c370ae173cabe23ccc901e6c588394c14e4 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 9 Feb 2021 11:27:59 +0100 Subject: [PATCH] Deprecate the internal IDBConnection event name constants Signed-off-by: Christoph Wurst --- lib/public/IDBConnection.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php index 5618e3ec40..943ad1b860 100644 --- a/lib/public/IDBConnection.php +++ b/lib/public/IDBConnection.php @@ -51,11 +51,34 @@ use OCP\DB\QueryBuilder\IQueryBuilder; * @since 6.0.0 */ interface IDBConnection { + /** + * @deprecated 22.0.0 this is an internal event + */ public const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES'; + + /** + * @deprecated 22.0.0 this is an internal event + */ public const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES'; + + /** + * @deprecated 22.0.0 this is an internal event + */ public const ADD_MISSING_PRIMARY_KEYS_EVENT = self::class . '::ADD_MISSING_PRIMARY_KEYS'; + + /** + * @deprecated 22.0.0 this is an internal event + */ public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class . '::CHECK_MISSING_PRIMARY_KEYS'; + + /** + * @deprecated 22.0.0 this is an internal event + */ public const ADD_MISSING_COLUMNS_EVENT = self::class . '::ADD_MISSING_COLUMNS'; + + /** + * @deprecated 22.0.0 this is an internal event + */ public const CHECK_MISSING_COLUMNS_EVENT = self::class . '::CHECK_MISSING_COLUMNS'; /**