]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2015_08_31_175240_add_search_indexes.php
Framework: Addressed deprecations
[bookstack] / database / migrations / 2015_08_31_175240_add_search_indexes.php
index 4e0421e9e95ecce25bf53cca714a341b8bfc8fe1..3382b2d5495f9043c5fe2d095a5c213e042a5f96 100644 (file)
@@ -26,9 +26,9 @@ return new class extends Migration
     public function down(): void
     {
         $sm = Schema::getConnection()->getDoctrineSchemaManager();
-        $pages = $sm->listTableDetails('pages');
-        $books = $sm->listTableDetails('books');
-        $chapters = $sm->listTableDetails('chapters');
+        $pages = $sm->introspectTable('pages');
+        $books = $sm->introspectTable('books');
+        $chapters = $sm->introspectTable('chapters');
 
         if ($pages->hasIndex('search')) {
             Schema::table('pages', function (Blueprint $table) {