Skip to content

Commit 04f97f9

Browse files
committed
Add game join log
1 parent 355d3cb commit 04f97f9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

migrations/V137__game_join_log.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
create table game_join_log
2+
(
3+
id BIGINT auto_increment
4+
primary key,
5+
player_id mediumint unsigned not null,
6+
game_id int unsigned not null,
7+
created_time datetime default now() not null,
8+
constraint game_join_log_login_id_fk
9+
foreign key (player_id) references login (id)
10+
);

0 commit comments

Comments
 (0)