From 0a568c0d191e0e2cf43e7fbbc6ca0d2dfdb7d566 Mon Sep 17 00:00:00 2001 From: xiaomlove <1939737565@qq.com> Date: Wed, 14 Jan 2026 11:37:36 +0700 Subject: [PATCH] add more index to hit and runs table --- ...3_add_more_index_to_hit_and_runs_table.php | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 database/migrations/2026_01_14_122903_add_more_index_to_hit_and_runs_table.php diff --git a/database/migrations/2026_01_14_122903_add_more_index_to_hit_and_runs_table.php b/database/migrations/2026_01_14_122903_add_more_index_to_hit_and_runs_table.php new file mode 100644 index 00000000..ca6cdf6f --- /dev/null +++ b/database/migrations/2026_01_14_122903_add_more_index_to_hit_and_runs_table.php @@ -0,0 +1,29 @@ +index('status'); + $table->index('created_at'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('hit_and_runs', function (Blueprint $table) { + // + }); + } +};