Explorar o código

change migration down to the old state

einsz %!s(int64=2) %!d(string=hai) anos
pai
achega
e08d173e78

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