]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 29 May 2019 18:19:12 +0000 (20:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 29 May 2019 18:19:12 +0000 (20:19 +0200)
src/app/Magic/Fields/Field.php

index b7d5652b505c2838cdb40b0992cabacf53be1f59..31e2d1e3af92776d75db6546e3c65f3cf9ef1f71 100644 (file)
@@ -63,7 +63,7 @@ class Field
     {
         return ['type' => $this->_adminType, 'column' => false, 'form' => 'both', 'rules' => '',
             'fillable' => true, 'guarded' => false, 'hidden' => false, 'translatable' => $this->_translatable,
-            'column_type' => 'text'];
+            'column_type' => 'text', 'default' => ''];
     }
 
     public function __construct($attributes)