summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* IFilesMetadataMaxence Lange2023-11-071-0/+83
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Return only if changedGit'Fellow2023-11-011-2/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix: add index on migration only if neededGit'Fellow2023-11-011-1/+3
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(TextToImage\Migration): Fix typoMarcel Klehr2023-10-231-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(Text2Image): Expose expected completion timeMarcel Klehr2023-10-201-0/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(Text2Image): Add number_of_images to migrationMarcel Klehr2023-10-201-0/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Fix notnull column to allow for empty strings on orcaleMarcel Klehr2023-10-181-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Address review commentsMarcel Klehr2023-10-181-9/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Implement TextToImage OCP APIMarcel Klehr2023-10-181-0/+100
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* allow anon text processing schedulingJulien Veyssier2023-08-071-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>
* use DB type constantsJulien Veyssier2023-08-021-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix typoMarcel Klehr2023-08-021-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Migration: Drop llm_tasks table and add textprocessing_tasksMarcel Klehr2023-08-021-0/+111
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* LLM Migration: Return null if nothing changedMarcel Klehr2023-07-071-1/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* LLM OCP API: Add identifier paramMarcel Klehr2023-07-071-0/+5
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-07-071-0/+7
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* LLM OCP API: Implement ocs APIMarcel Klehr2023-07-071-0/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Fix CopyrightMarcel Klehr2023-07-071-2/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* LLM OCP API: Add db migrationMarcel Klehr2023-07-071-0/+85
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Uses PHP8's constructor property promotion.Faraz Samapoor2023-06-2311-50/+31
| | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* fix(systemtags): Keep non-existing indexMarcel Klehr2023-06-221-0/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(systemtags): Move index creation from new migration to existing original ↵Marcel Klehr2023-06-222-53/+1
| | | | | | migration Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(systemtags): Add missing systemtags indexMarcel Klehr2023-06-211-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>