From 4bbaf115022536f54c7f1c39623429984acede8c Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 10 May 2022 13:50:41 -0400 Subject: [PATCH 1/3] Move username logs to private --- DatabaseSchema.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/DatabaseSchema.md b/DatabaseSchema.md index 68daf48..3e077ae 100644 --- a/DatabaseSchema.md +++ b/DatabaseSchema.md @@ -3,7 +3,6 @@ [vipUsers](#vipUsers) [sponsorTimes](#sponsorTimes) [userNames](#userNames) -[userNameLogs](#userNameLogs) [categoryVotes](#categoryVotes) [lockCategories](#lockCategories) [warnings](#warnings) @@ -66,16 +65,6 @@ | -- | :--: | | userNames_userID | userID | -### userNameLogs - -| Name | Type | | -| -- | :--: | -- | -| userID | TEXT | not null | -| newUserName | TEXT | not null | -| oldUserName | TEXT | not null | -| updatedByAdmin | BOOLEAN | not null | -| updatedAt | INTEGER | not null | - ### categoryVotes | Name | Type | | @@ -209,6 +198,7 @@ [sponsorTimes](#sponsorTimes) [config](#config) [tempVipLog](#tempVipLog) +[userNameLogs](#userNameLogs) ### vote @@ -279,4 +269,14 @@ | issuerUserID | TEXT | not null | | targetUserID | TEXT | not null | | enabled | BOOLEAN | not null | -| updatedAt | INTEGER | not null | \ No newline at end of file +| updatedAt | INTEGER | not null | + +### userNameLogs + +| Name | Type | | +| -- | :--: | -- | +| userID | TEXT | not null | +| newUserName | TEXT | not null | +| oldUserName | TEXT | not null | +| updatedByAdmin | BOOLEAN | not null | +| updatedAt | INTEGER | not null | From 2eb53015bc5df92591c1ca1f336481189e8381e2 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 10 May 2022 14:04:25 -0400 Subject: [PATCH 2/3] fix table name --- DatabaseSchema.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DatabaseSchema.md b/DatabaseSchema.md index 3e077ae..4a83d19 100644 --- a/DatabaseSchema.md +++ b/DatabaseSchema.md @@ -193,14 +193,14 @@ # Private -[vote](#vote) +[votes](#votes) [categoryVotes](#categoryVotes) [sponsorTimes](#sponsorTimes) [config](#config) [tempVipLog](#tempVipLog) [userNameLogs](#userNameLogs) -### vote +### votes | Name | Type | | | -- | :--: | -- | From 3c340770567ecaf2f267e1f0c332ecb5a8918f9f Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 10 May 2022 14:05:30 -0400 Subject: [PATCH 3/3] Add missing link --- DatabaseSchema.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DatabaseSchema.md b/DatabaseSchema.md index 4a83d19..8952498 100644 --- a/DatabaseSchema.md +++ b/DatabaseSchema.md @@ -197,7 +197,8 @@ [categoryVotes](#categoryVotes) [sponsorTimes](#sponsorTimes) [config](#config) -[tempVipLog](#tempVipLog) +[ratings](#ratings) +[tempVipLog](#tempVipLog) [userNameLogs](#userNameLogs) ### votes