diff options
Diffstat (limited to 'apps/workflowengine/lib/Migration/Version2000Date20190808074233.php')
-rw-r--r-- | apps/workflowengine/lib/Migration/Version2000Date20190808074233.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php index fae4fda5bc3..58458e84c86 100644 --- a/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php +++ b/apps/workflowengine/lib/Migration/Version2000Date20190808074233.php @@ -7,6 +7,7 @@ namespace OCA\WorkflowEngine\Migration; use Closure; use Doctrine\DBAL\Schema\Table; use Doctrine\DBAL\Types\Types; +use OCA\WorkflowEngine\Entity\File; use OCP\DB\ISchemaWrapper; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; @@ -116,7 +117,7 @@ class Version2000Date20190808074233 extends SimpleMigrationStep { $table->addColumn('entity', Types::STRING, [ 'notnull' => true, 'length' => 256, - 'default' => '', + 'default' => File::class, ]); } if (!$table->hasColumn('events')) { |