summaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* fix(migrations): Help developers to add description and copyright infoJoas Schilling2024-03-051-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(db): remove redundant indices in propertiesJohannes Merkel2024-02-182-1/+61
| | | | Signed-off-by: Johannes Merkel <mail@johannesgge.de>
* Update core/Migrations/Version29000Date20240124132202.phpMaxence Lange2024-01-251-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Update core/Migrations/Version29000Date20240124132201.phpMaxence Lange2024-01-251-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* better indexesMaxence Lange2024-01-244-16/+219
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fixesMaxence Lange2024-01-151-1/+3
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* lazy AppConfigMaxence Lange2024-01-151-0/+63
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(comments): Add a meta data column for commentsJoas Schilling2023-12-141-0/+67
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Comment legacy file_metadata table migrationsLouis Chemineau2023-12-073-46/+47
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Revert "perf: Add partial index on configvalue of preferences table"Julius Härtl2023-12-061-4/+0
| | | | | | This reverts commit 0ccf84bb3174a0dba47938888d104db96dcacb1b. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* perf: Add partial index on configvalue of preferences tableJulius Härtl2023-11-301-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2316-55/+55
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add migration from the old to new metadata tablesLouis Chemineau2023-11-161-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge branch 'master' into enh/text-processing-iprovider2Marcel Klehr2023-11-091-10/+25
|\
| * fix(migration): Fix files metadata migrationJoas Schilling2023-11-091-10/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge branch 'master' into enh/text-processing-iprovider2Marcel Klehr2023-11-081-0/+83
|\| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * IFilesMetadataMaxence Lange2023-11-071-0/+83
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(TextProcessing/ migration): add check whether new column exists alreadyMarcel Klehr2023-11-061-5/+6
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | enh(TextProcessing): Add IProvider2Marcel Klehr2023-11-031-0/+60
|/ | | | | | | - allow providers to obtain current task's userId - allow providers to expose average task runtime Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* 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>