From 23293d494b471cbf3aa6d4eef7a9323eda9a0ad4 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 6 Jun 2019 17:04:34 +0200 Subject: [PATCH] #2810 --- src/app/Magic/Fields/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Magic/Fields/Field.php b/src/app/Magic/Fields/Field.php index 4f5e15d..a96d39e 100644 --- a/src/app/Magic/Fields/Field.php +++ b/src/app/Magic/Fields/Field.php @@ -126,7 +126,7 @@ class Field $table->addColumn($name, CubistMagicAbstractModel::toDoctrineType($this->getDatabaseType()), array_merge( - ['allow_null' => $this->getAttribute('allow_null', true)], + ['nullable' => $this->getAttribute('allow_null', true)], $this->_databaseAttributes) ); if ($this->_databaseUnique) { -- 2.39.5