From 437c6d0661a9cde55c01769e1248f1e62b3e2d69 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Wed, 3 May 2023 20:38:50 +0200 Subject: [PATCH] Update 2023_03_09_121613_update_columns_to_text_type.php --- .../2023_03_09_121613_update_columns_to_text_type.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2023_03_09_121613_update_columns_to_text_type.php b/database/migrations/2023_03_09_121613_update_columns_to_text_type.php index 954d850..e20e2de 100644 --- a/database/migrations/2023_03_09_121613_update_columns_to_text_type.php +++ b/database/migrations/2023_03_09_121613_update_columns_to_text_type.php @@ -19,7 +19,7 @@ class UpdateColumnsToTextType extends Migration Schema::table('links', function (Blueprint $table) { $table->text('title')->change(); - $table->text('links')->nullable(); + $table->text('links')->change(); }); } @@ -36,7 +36,7 @@ class UpdateColumnsToTextType extends Migration Schema::table('links', function (Blueprint $table) { $table->string('title', 255)->change(); - $table->dropColumn('links'); + $table->dropColumn('links', 255)->change(); }); } }