nextcloud/core/Migrations
Robin Appelman 861fbd06a5 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-26 19:44:28 +00:00
..
Version13000Date20170705121758.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version13000Date20170718121200.php add a prefix index to filecache.path 2021-03-26 19:44:28 +00:00
Version13000Date20170814074715.php Update license headers 2019-12-05 15:38:45 +01:00
Version13000Date20170919121250.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Version13000Date20170926101637.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Version14000Date20180129121024.php Update license headers 2019-12-05 15:38:45 +01:00
Version14000Date20180404140050.php Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Version14000Date20180516101403.php Update license headers 2019-12-05 15:38:45 +01:00
Version14000Date20180518120534.php Drop authtoken_version_index 2021-01-20 09:34:41 +01:00
Version14000Date20180522074438.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Version14000Date20180626223656.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Version14000Date20180710092004.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version14000Date20180712153140.php Update license headers 2019-12-05 15:38:45 +01:00
Version15000Date20180926101451.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Version15000Date20181015062942.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Version15000Date20181029084625.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Version16000Date20190207141427.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version16000Date20190212081545.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version16000Date20190427105638.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +01:00
Version16000Date20190428150708.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version17000Date20190514105811.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version18000Date20190920085628.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version18000Date20191014105105.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version18000Date20191204114856.php Create primary keys on all tables and add a command to create the afterwards 2020-11-10 15:36:27 +01:00
Version19000Date20200211083441.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Version20000Date20201109081915.php Fix CS 2020-11-10 15:43:34 +01:00
Version20000Date20201109081918.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version20000Date20201109081919.php Fix CS 2020-11-10 15:43:34 +01:00
Version20000Date20201111081915.php Also make direct_edit.accessed nullable 2020-11-11 14:46:06 +01:00
Version21000Date20201120141228.php Don't remove assignable column for now 2021-01-11 11:58:14 +01:00
Version21000Date20201202095923.php Migrate internal classes to the OCP db col types 2021-01-12 14:09:13 +01:00
Version21000Date20210119195004.php Drop authtoken_version_index 2021-01-20 09:34:41 +01:00
Version21000Date20210309185126.php Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
Version21000Date20210309185127.php Add missing index on the user column 2021-03-22 20:07:53 +01:00