]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2015_08_31_175240_add_search_indexes.php
Migrations: Updated with type hints instead of php doc
[bookstack] / database / migrations / 2015_08_31_175240_add_search_indexes.php
index 6097fd13edd71f82c87fc44edfc7892d078f92f4..4e0421e9e95ecce25bf53cca714a341b8bfc8fe1 100644 (file)
@@ -2,13 +2,12 @@
 
 use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
 
 return new class extends Migration
 {
     /**
      * Run the migrations.
-     *
-     * @return void
      */
     public function up()
     {
@@ -23,10 +22,8 @@ return new class extends Migration
 
     /**
      * Reverse the migrations.
-     *
-     * @return void
      */
-    public function down()
+    public function down(): void
     {
         $sm = Schema::getConnection()->getDoctrineSchemaManager();
         $pages = $sm->listTableDetails('pages');