From ee0667e599ecda9e9aa228b29b3a4d7f00c7b904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20T=C4=83b=C4=83citu?= Date: Fri, 27 Sep 2024 06:57:28 +0300 Subject: [PATCH] Update 2017_04_10_195926_change_extras_to_longtext.php --- .../2017_04_10_195926_change_extras_to_longtext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/database/migrations/2017_04_10_195926_change_extras_to_longtext.php b/src/database/migrations/2017_04_10_195926_change_extras_to_longtext.php index 700d6ee..799192d 100644 --- a/src/database/migrations/2017_04_10_195926_change_extras_to_longtext.php +++ b/src/database/migrations/2017_04_10_195926_change_extras_to_longtext.php @@ -14,7 +14,7 @@ class ChangeExtrasToLongtext extends Migration public function up() { Schema::table('pages', function (Blueprint $table) { - $table->longText('extras')->change(); + $table->longText('extras')->nullable()->change(); }); } @@ -26,7 +26,7 @@ public function up() public function down() { Schema::table('pages', function (Blueprint $table) { - $table->text('extras')->change(); + $table->text('extras')->nullable()->change(); }); } }