From 35d326773a182b66a7a9c2986efd372947a2fc75 Mon Sep 17 00:00:00 2001 From: noumo Date: Thu, 2 Jul 2015 14:20:49 +0300 Subject: [PATCH] answer default null --- migrations/m000000_000000_install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/m000000_000000_install.php b/migrations/m000000_000000_install.php index 4e6cb70..6ee1bbc 100644 --- a/migrations/m000000_000000_install.php +++ b/migrations/m000000_000000_install.php @@ -220,7 +220,7 @@ public function up() 'name' => Schema::TYPE_STRING . '(128) NOT NULL', 'title' => Schema::TYPE_STRING . '(128) DEFAULT NULL', 'text' => Schema::TYPE_TEXT . ' NOT NULL', - 'answer' => Schema::TYPE_TEXT . ' NOT NULL', + 'answer' => Schema::TYPE_TEXT . ' DEFAULT NULL', 'email' => Schema::TYPE_STRING . '(128) DEFAULT NULL', 'time' => Schema::TYPE_INTEGER . " DEFAULT '0'", 'ip' => Schema::TYPE_STRING . '(16) NOT NULL',