From 932fb8cd46398d0c1591ee59a4c53cc96fe1a3ca Mon Sep 17 00:00:00 2001 From: thrillfall Date: Thu, 8 Jul 2021 19:29:40 +0200 Subject: [PATCH] allow null/false value for boolean field --- lib/Migration/Version0002Date20210524131313.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Migration/Version0002Date20210524131313.php b/lib/Migration/Version0002Date20210524131313.php index 7fc6665..1f4bd3b 100644 --- a/lib/Migration/Version0002Date20210524131313.php +++ b/lib/Migration/Version0002Date20210524131313.php @@ -25,7 +25,7 @@ class Version0002Date20210524131313 extends \OCP\Migration\SimpleMigrationStep { ]); $table->addColumn('subscribed', Types::BOOLEAN, [ - 'notnull' => true, + 'notnull' => false, ]); $table->addColumn('updated', Types::DATETIME_MUTABLE, [