Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions migrations/V139__add_ip_and_indices_to_game_join_log.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
alter table game_join_log
add ip varchar(45) null after game_id;

create index game_join_log_game_id_player_id_index
on game_join_log (game_id, player_id);

create index game_join_log_ip_player_id_index
on game_join_log (ip, player_id);

create index game_join_log_player_id_ip_index
on game_join_log (player_id, ip);