Vergebene XP für Nachrichten und Reaktionen pro Stunde begrenzen #168 #176
@ -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`;')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user