diff --git a/.gitignore b/.gitignore index db77438..c88e566 100755 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ logs/ npm-debug.* /server/src/config/config.local.ts /server/src/config/config.prod.ts +/client/.idea +/server/.idea +/.idea \ No newline at end of file diff --git a/.idea/TexasPokerGame.iml b/.idea/TexasPokerGame.iml deleted file mode 100644 index c956989..0000000 --- a/.idea/TexasPokerGame.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100755 index fd1509a..0000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100755 index a55e7a1..0000000 --- a/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100755 index 1beadde..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100755 index 28a804d..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 3ca83e1..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100755 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/database/poker.sql b/database/poker.sql index 8f36281..06be3e9 100755 --- a/database/poker.sql +++ b/database/poker.sql @@ -116,3 +116,10 @@ DELIMITER ;; CREATE TRIGGER `update_user_time` BEFORE UPDATE ON `user` FOR EACH ROW SET NEW.`UPDATE_TIME` = NOW() ;; DELIMITER ; + + +/* 2022.10.16 command record 添加 user id 和 game id 索引 */ +ALTER TABLE `command_record` ADD INDEX `idx_user_id`(`userId`); +ALTER TABLE `command_record` ADD INDEX `idx_game_id`(`gameId`); +ALTER TABLE `player` ADD INDEX `idx_user_id`(`userId`); +