Vergebene XP für Nachrichten und Reaktionen pro Stunde begrenzen #168 #176

Merged
edraft merged 6 commits from #168 into 0.3.1 2023-01-13 22:47:13 +01:00
Showing only changes of commit 84f8690bdf - Show all commits

View File

@ -19,7 +19,7 @@ class UserMessageCountPerHourMigration(MigrationABC):
str(f"""
CREATE TABLE IF NOT EXISTS `UserMessageCountPerHour` (
`Id` BIGINT NOT NULL AUTO_INCREMENT,
`Date` VARCHAR(255) NOT NULL,
`Date` DATETIME(6) NOT NULL,
`Hour` BIGINT,
`XPCount` BIGINT,
`UserId` BIGINT,
@ -33,4 +33,3 @@ class UserMessageCountPerHourMigration(MigrationABC):
def downgrade(self):
self._cursor.execute('DROP TABLE `UserMessageCountPerHour`;')