summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* Return only if changedGit'Fellow2023-11-021-2/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix: add index on migration only if neededGit'Fellow2023-11-021-1/+3
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* allow anon text processing schedulingJulien Veyssier2023-08-091-0/+66
| | | | | | | | | | | | add a textprocessing_tasks index convert anotations to method attributes refactor TP manager add mapper methods Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 41b19cf969956fe57fcb35e3dee0200d5c29b6d7) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* use DB type constantsJulien Veyssier2023-08-091-1/+1
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 601679bd25d409ae9303fc1fe2f477f3667545f3)
* Fix typoMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a0eaed0296166660b54fb0f438b9c90c95108cd3)
* Migration: Drop llm_tasks table and add textprocessing_tasksMarcel Klehr2023-08-091-0/+111
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ad3f3533357a2f85be92891bd024b656a98a9f4f)
* LLM Migration: Return null if nothing changedMarcel Klehr2023-08-091-1/+3
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0909657ea03bd195ba2e0acb1c0a3b63aec79894)
* LLM OCP API: Add identifier paramMarcel Klehr2023-08-091-0/+5
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit f6f8cb43313deb3dfd366bc9e2128d787c833405)
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-08-091-0/+7
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit cb0f918d2101bf7644d7d84f811b37e3e672f091)
* LLM OCP API: Implement ocs APIMarcel Klehr2023-08-091-0/+3
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 795b097122a8dd70b4d6b9ebe044440396be9104)
* Fix CopyrightMarcel Klehr2023-08-091-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9e9fc1d99bc8f058762d27d548303a62372771e7)
* LLM OCP API: Add db migrationMarcel Klehr2023-08-091-0/+85
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 6fc4cb63efcb83b9c86814b9e2ead597be630b7e)
* fix(systemtags): Keep non-existing indexMarcel Klehr2023-07-101-0/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(systemtags): Move index creation from new migration to existing original ↵Marcel Klehr2023-07-102-53/+1
| | | | | | migration Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(systemtags): Add missing systemtags indexMarcel Klehr2023-07-101-0/+52
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* add new index in repair step instead of on-migrateRobin Appelman2023-04-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow storing multiple mounts for the same rootid in the mount cacheRobin Appelman2023-04-282-1/+52
| | | | | | | | | | | | currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache, however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache. Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything. With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant. While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_valueLouis2023-04-043-3/+154
|\ | | | | Migrate metadata JSON column to new value TEXT column
| * Migrate metadata as JSON to value as STRINGLouis Chemineau2023-04-033-3/+154
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Add parent index on filecacheLouis Chemineau2023-03-201-0/+1
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* add a safeguard for Version23000Date20210721100600.phpSimon L2023-01-271-17/+19
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* composer run cs:fixCôme Chilliet2023-01-2024-25/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* PublickKeyTokenProvider: Fix password update routine with password hashMarcel Klehr2023-01-041-0/+57
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Fix migration parameter handlingJoas Schilling2022-10-131-9/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix querybuilder instance recuseArthur Schiwon2022-10-131-10/+12
| | | | | | ...and execute delete query Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Delete theming background preferencesChristopher Ng2022-10-131-4/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* New code being newJoas Schilling2022-10-131-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix SQL errorsJoas Schilling2022-10-131-3/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix missing background on upgradeChristopher Ng2022-10-131-0/+65
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Update Version24000Date20220404230027.phptimm2k2022-09-151-1/+1
| | | Signed-off-by: timm2k <timm2k@gmx.de>
* DB mounts table: Add index for mount_provider_classMarcel Klehr2022-08-011-0/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Add comments expire dateVitor Mattos2022-06-151-0/+57
| | | | | | https://github.com/nextcloud/spreed/pull/7327 Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add new share attributes columnVincent Petry2022-06-081-0/+52
| | | | | | To store more extended permissions in the future. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix older migrations to the version patternJoas Schilling2022-04-252-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add missing indexJoas Schilling2022-04-251-0/+53
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31047 from nextcloud/enh/preferences-indexJulius Härtl2022-04-211-0/+1
|\ | | | | Additional index on oc_preferences to make queries without a user filter faster
| * Additional index on oc_preferences to make sure that gettingh values without ↵Julius Härtl2022-04-191-0/+1
| | | | | | | | | | | | a user filter is fast Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add a metadata service to store file metadataCarl Schwan2022-04-131-0/+62
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update Version24000Date20211222112246.phpJoas Schilling2022-03-151-2/+4
|
* store mountprovider for each mount in the mounts tableRobin Appelman2022-02-231-0/+37
| | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #31042 from nextcloud/enh/direct_edit_indexVincent Petry2022-02-101-0/+1
|\ | | | | Add index for direct editing cleanup job
| * Add index for direct editing cleanup jobJulius Härtl2022-02-071-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-071-0/+55
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a primary key to ratelimit_entries tableJoas Schilling2022-01-283-20/+139
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix column size to work with Oracle. Add unit testsVitor Mattos2022-01-211-4/+4
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add comments reactionsVitor Mattos2022-01-211-0/+96
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-181-0/+67
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check style updateCarl Schwan2022-01-131-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add missing index for propertypath only queries against propertiesChristoph Wurst2021-12-231-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Migrate profile_config id column to bigintChristopher Ng2021-12-141-0/+42
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>