From ad005fcff716e39d5c7c1fc6c2dc5b60f53d4fba Mon Sep 17 00:00:00 2001 From: alexvenga Date: Tue, 27 Dec 2022 23:59:30 +0300 Subject: [PATCH] Fix --- .../2022_12_27_234647_change_value_to_text_in_settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2022_12_27_234647_change_value_to_text_in_settings.php b/database/migrations/2022_12_27_234647_change_value_to_text_in_settings.php index b315fab..e299e1d 100644 --- a/database/migrations/2022_12_27_234647_change_value_to_text_in_settings.php +++ b/database/migrations/2022_12_27_234647_change_value_to_text_in_settings.php @@ -12,7 +12,7 @@ */ public function up() { - Schema::create('settings', function (Blueprint $table) { + Schema::table('settings', function (Blueprint $table) { $table->text('value')->change(); }); } @@ -24,7 +24,7 @@ public function up() */ public function down() { - Schema::create('settings', function (Blueprint $table) { + Schema::table('settings', function (Blueprint $table) { $table->string('value', 190)->change(); }); }