diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-24 10:37:33 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-28 09:04:59 +0200 |
commit | dd5995a2f8ca1331ae0c466cc812d8b3baf010b2 (patch) | |
tree | e0178e1ce455afa6bdd33df7cc602620db75bc5a /lib | |
parent | 043acfebab11e4fdfdda9f412543f3d08b30c33c (diff) | |
download | nextcloud-server-dd5995a2f8ca1331ae0c466cc812d8b3baf010b2.tar.gz nextcloud-server-dd5995a2f8ca1331ae0c466cc812d8b3baf010b2.zip |
Emit event when running ./occ db:add-missing-indices
This allows apps to listen to this event in order to also update
indecies there.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/IDBConnection.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php index f0783d5231a..024e759de6e 100644 --- a/lib/public/IDBConnection.php +++ b/lib/public/IDBConnection.php @@ -45,6 +45,9 @@ use OCP\DB\QueryBuilder\IQueryBuilder; * @since 6.0.0 */ interface IDBConnection { + + const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES'; + /** * Gets the QueryBuilder for the connection. * |