From fba6ee8343efb99c4871b7edb3d3a8a5c0e3ef2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Anh=20Tu=E1=BA=A5n?= Date: Thu, 24 Mar 2016 17:17:26 +0700 Subject: [PATCH] Update 20160324054602_Initial.php When created new, modified have to = null --- config/Migrations/20160324054602_Initial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Migrations/20160324054602_Initial.php b/config/Migrations/20160324054602_Initial.php index 0f0cf66..3140be7 100644 --- a/config/Migrations/20160324054602_Initial.php +++ b/config/Migrations/20160324054602_Initial.php @@ -90,7 +90,7 @@ public function up() ->addColumn('modified', 'datetime', [ 'default' => null, 'limit' => null, - 'null' => false, + 'null' => true, ]) ->create(); }