From 7bdedfba48d4b7750fd9e37fffd54bde38e8dc60 Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <bjoern@schiessle.org>
Date: Fri, 13 Jul 2018 15:35:46 +0200
Subject: [PATCH] explicitely mention that the note column can be null

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
---
 core/Migrations/Version14000Date20180712153140.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/Migrations/Version14000Date20180712153140.php b/core/Migrations/Version14000Date20180712153140.php
index 7f667fa3847..268a479eaad 100644
--- a/core/Migrations/Version14000Date20180712153140.php
+++ b/core/Migrations/Version14000Date20180712153140.php
@@ -36,7 +36,7 @@ class Version14000Date20180712153140 extends SimpleMigrationStep {
 		$schema = $schemaClosure();
 
 		$table = $schema->getTable('share');
-		$table->addColumn('note', 'text');
+		$table->addColumn('note', 'text', ['notnull' => false]);
 
 		return $schema;
 	}
-- 
GitLab