Skip to content

Commit babeafb

Browse files
committed
Add ip to game join log + indices
1 parent 6d9f69a commit babeafb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
alter table game_join_log
2+
add ip varchar(45) null after game_id;
3+
4+
create index game_join_log_game_id_player_id_index
5+
on game_join_log (game_id, player_id);
6+
7+
create index game_join_log_ip_player_id_index
8+
on game_join_log (ip, player_id);
9+
10+
create index game_join_log_player_id_ip_index
11+
on game_join_log (player_id, ip);
12+

0 commit comments

Comments
 (0)