diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-24 10:37:33 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-05-24 18:03:10 +0200 |
commit | 80cc8d0028413e6825567e7b635369a70a0bf07a (patch) | |
tree | 3302a662dff92cf9b26ec10578dd3123f7852289 /lib | |
parent | fd4a7bf72a0c8a69325b1d63e6983021ac6651f8 (diff) | |
download | nextcloud-server-80cc8d0028413e6825567e7b635369a70a0bf07a.tar.gz nextcloud-server-80cc8d0028413e6825567e7b635369a70a0bf07a.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. * |