소스 검색

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();
         });
     }
 }