From f355050ce9adf503fd0ce0836bf50fa3266609b3 Mon Sep 17 00:00:00 2001 From: "liutong.eric" Date: Sun, 16 Oct 2022 08:56:05 +0800 Subject: [PATCH 1/3] fix: modify git ignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) 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 From ea5ccc0136c6fd982e3df1dd9cfaa79a29230f04 Mon Sep 17 00:00:00 2001 From: "liutong.eric" Date: Sun, 16 Oct 2022 11:18:30 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E9=80=9A=E8=BF=87=E5=8A=A0?= =?UTF-8?q?=E7=B4=A2=E5=BC=95=E7=9A=84=E6=96=B9=E5=BC=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=89=8C=E5=B1=80=E5=8E=86=E5=8F=B2=E5=8A=A0=E8=BD=BD=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/poker.sql | 7 +++++++ 1 file changed, 7 insertions(+) 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`); + From 935dabda0e5c4e091103d3dea232f3e55247daf2 Mon Sep 17 00:00:00 2001 From: "liutong.eric" Date: Sun, 16 Oct 2022 11:29:53 +0800 Subject: [PATCH 3/3] fix: remove .idea folder --- .idea/TexasPokerGame.iml | 8 - .idea/codeStyles/Project.xml | 36 ---- .idea/codeStyles/codeStyleConfig.xml | 5 - .idea/inspectionProfiles/Project_Default.xml | 6 - .idea/misc.xml | 6 - .idea/modules.xml | 8 - .idea/vcs.xml | 6 - .idea/workspace.xml | 197 ------------------- 8 files changed, 272 deletions(-) delete mode 100644 .idea/TexasPokerGame.iml delete mode 100755 .idea/codeStyles/Project.xml delete mode 100755 .idea/codeStyles/codeStyleConfig.xml delete mode 100755 .idea/inspectionProfiles/Project_Default.xml delete mode 100755 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100755 .idea/vcs.xml delete mode 100755 .idea/workspace.xml 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/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100755 index 1d99f88..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - true - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1586870120922 - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file