aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Migration
Commit message (Collapse)AuthorAgeFilesLines
* chore(db): Correctly apply query typesGit'Fellow2024-10-171-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* chore: Add SPDX headerAndy Scherzinger2024-05-313-62/+6
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix similar potential problems with fetchOne loopsCôme Chilliet2022-03-081-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make "name" column nullable in workflow operationsVincent Petry2021-08-102-1/+55
| | | | | | | | | | | | | The "name" column is now unused and the code is always inserting an empty string. While this works with most databases, Oracle complains because an empty string is equivalent to null. To fix this, the column definition is changed to allow null values now. Also added some logging in case of database exceptions, because without this nothing would be logged to detect the above problem. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-3/+29
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-121-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-5/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* avoid empty null default with value that will be inserted anywaysArthur Schiwon2020-11-232-13/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Replace TYPE with TYPESDaniel Kesselberg2020-06-301-17/+17
| | | | | | As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-5/+3
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-091-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix "Cannot add a NOT NULL column with default value NULL"Joas Schilling2019-09-261-1/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix missing value and run against empty tables in migration scriptArthur Schiwon2019-09-092-15/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split events DB field into entity and events, adjust biz logicArthur Schiwon2019-09-092-4/+21
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend DB table, manager, controller with support for entity eventsArthur Schiwon2019-09-091-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* the workflow manager becomes scope aware, Part 1Arthur Schiwon2019-09-091-0/+76
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add scope table for workflows and switch to migrationsArthur Schiwon2019-09-091-0/+100
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>