diff --git a/database/migrations/2022_10_07_072311_add_status_id_index_to_bookmarks_table.php b/database/migrations/2022_10_07_072311_add_status_id_index_to_bookmarks_table.php new file mode 100644 index 000000000..d04fd9333 --- /dev/null +++ b/database/migrations/2022_10_07_072311_add_status_id_index_to_bookmarks_table.php @@ -0,0 +1,31 @@ +index('status_id'); + $table->index('profile_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +} diff --git a/database/migrations/2022_10_07_072555_add_status_id_index_to_direct_messages_table.php b/database/migrations/2022_10_07_072555_add_status_id_index_to_direct_messages_table.php new file mode 100644 index 000000000..cc66bb77f --- /dev/null +++ b/database/migrations/2022_10_07_072555_add_status_id_index_to_direct_messages_table.php @@ -0,0 +1,31 @@ +index('status_id'); + $table->index('group_message'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +} diff --git a/database/migrations/2022_10_07_072859_add_status_id_index_to_mentions_table.php b/database/migrations/2022_10_07_072859_add_status_id_index_to_mentions_table.php new file mode 100644 index 000000000..91ad7a594 --- /dev/null +++ b/database/migrations/2022_10_07_072859_add_status_id_index_to_mentions_table.php @@ -0,0 +1,31 @@ +index('status_id'); + $table->index('profile_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +} diff --git a/database/migrations/2022_10_07_073337_add_indexes_to_reports_table.php b/database/migrations/2022_10_07_073337_add_indexes_to_reports_table.php new file mode 100644 index 000000000..cfe7d5a7e --- /dev/null +++ b/database/migrations/2022_10_07_073337_add_indexes_to_reports_table.php @@ -0,0 +1,33 @@ +index('user_id'); + $table->index('profile_id'); + $table->index('object_id'); + $table->index('object_type'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}