Преглед на файлове

change migration down to the old state

einsz преди 2 години
родител
ревизия
e08d173e78
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      database/migrations/2023_01_03_185102_update_make_description_text_in_nests_table.php

+ 1 - 1
database/migrations/2023_01_03_185102_update_make_description_text_in_nests_table.php

@@ -26,7 +26,7 @@ class UpdateMakeDescriptionTextInNestsTable extends Migration
     public function down()
     {
         Schema::table('nests', function (Blueprint $table) {
-            $table->text('description')->change();
+            $table->string('description')->change();
         });
     }
 }