From 73f425f0ca477e3335b224281b11b4256a9b3ad9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 10 Oct 2022 18:04:45 +1100 Subject: [PATCH] Fixes for document indexing --- ...22_10_10_070137_add_documentable_index.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 database/migrations/2022_10_10_070137_add_documentable_index.php diff --git a/database/migrations/2022_10_10_070137_add_documentable_index.php b/database/migrations/2022_10_10_070137_add_documentable_index.php new file mode 100644 index 000000000000..19fb9cfbbb40 --- /dev/null +++ b/database/migrations/2022_10_10_070137_add_documentable_index.php @@ -0,0 +1,30 @@ +index(['documentable_id', 'documentable_type','deleted_at']); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +};