From a60f1283ccaf7122b02e4f7027cc6e59fe201ea3 Mon Sep 17 00:00:00 2001 From: John Bowen Date: Wed, 18 Nov 2020 15:48:54 -0500 Subject: [PATCH] Update Version2000Date20190808074233.php Modify 'protected function ensureEntityColumns()' to set a default of ' '. Fixes the broken automatic update from 17.0.10 to 18.0.10. Specifically implements the solution commented here: https://github.com/nextcloud/server/issues/23174#issuecomment-714296723 --- .../lib/Migration/Version2000Date20190808074233.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php index fae4fda5bc349..414b0455ba388 100644 --- a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php +++ b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php @@ -116,7 +116,7 @@ protected function ensureEntityColumns(Table $table) { $table->addColumn('entity', Types::STRING, [ 'notnull' => true, 'length' => 256, - 'default' => '', + 'default' => ' ', ]); } if (!$table->hasColumn('events')) {