Skip to content

Commit 3013bb2

Browse files
committed
fix: 🐛 gg! missed again
1 parent 520f5b2 commit 3013bb2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

database/migrations/2023_11_06_125339_add_missing_indexes_for_intel.php

+10
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public function up(): void
4040
$table->index('first_seen_at');
4141
$table->index('last_seen_at');
4242
});
43+
44+
Schema::table('minecraft_player_sessions', function (Blueprint $table) {
45+
$table->index('session_started_at');
46+
$table->index('session_ended_at');
47+
});
4348
}
4449

4550
/**
@@ -76,5 +81,10 @@ public function down(): void
7681
$table->dropIndex(['first_seen_at']);
7782
$table->dropIndex(['last_seen_at']);
7883
});
84+
85+
Schema::table('minecraft_player_sessions', function (Blueprint $table) {
86+
$table->dropIndex(['session_started_at']);
87+
$table->dropIndex(['session_ended_at']);
88+
});
7989
}
8090
};

0 commit comments

Comments
 (0)