nextcloud/core/Command
Robin Appelman b28f0a0e94
add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 18:52:25 +01:00
..
App Make the app code checker a NOOP 2021-02-11 11:46:02 +01:00
Background Add return value to all commands 2020-06-26 14:54:51 +02:00
Broadcast Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Config Check command input 2021-03-02 19:41:35 +01:00
Db add a prefix index to filecache.path 2021-03-19 18:52:25 +01:00
Encryption Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Group Show group backends in occ group:list --info and group:info 2021-03-01 16:02:08 +01:00
Integrity Add a warning when trying to run integrity:check-core on git 2021-01-18 11:32:50 +01:00
L10n Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 2021-02-18 13:31:24 +01:00
Log Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Maintenance make repair errors more visible 2021-03-18 08:45:16 +01:00
Preview Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Security Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
TwoFactorAuth Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 2021-02-18 13:31:24 +01:00
User Command: Add app password generation 2021-01-05 13:05:17 +01:00
Base.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Check.php Add return value to all commands 2020-06-26 14:54:51 +02:00
InterruptedException.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Status.php Add return value to all commands 2020-06-26 14:54:51 +02:00
Upgrade.php Fix markup 2021-01-18 11:32:51 +01:00