From 154e3d4fb32b3283a8a0186fae019acf45f5d4c0 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Thu, 4 May 2023 19:01:56 +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 e20e2de..6a37a2e 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')->change(); + $table->text('link')->change(); }); } @@ -36,7 +36,7 @@ class UpdateColumnsToTextType extends Migration Schema::table('links', function (Blueprint $table) { $table->string('title', 255)->change(); - $table->dropColumn('links', 255)->change(); + $table->dropColumn('link', 255)->change(); }); } }