#428 #437

Merged
edraft merged 20 commits from #428 into master 2023-11-15 17:39:44 +01:00
4 changed files with 23 additions and 0 deletions
Showing only changes of commit 5461a6d8dc - Show all commits

View File

@ -0,0 +1,4 @@
ALTER TABLE AutoRoles DROP COLUMN DiscordChannelId;

View File

@ -0,0 +1,4 @@
ALTER TABLE AutoRoles ADD DiscordChannelId BIGINT NOT NULL AFTER ServerId;

View File

@ -0,0 +1,2 @@
DROP TABLE `UserMessageCountPerHour`;

View File

@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS `UserMessageCountPerHour` (
`Id` BIGINT NOT NULL AUTO_INCREMENT,
`Date` DATETIME(6) NOT NULL,
`Hour` BIGINT,
`XPCount` BIGINT,
`UserId` BIGINT,
`CreatedAt` DATETIME(6),
`LastModifiedAt` DATETIME(6),
PRIMARY KEY(`Id`),
FOREIGN KEY (`UserId`) REFERENCES `Users`(`UserId`)
);