Updated migration #168

This commit is contained in:
Sven Heidemann 2023-01-13 22:35:46 +01:00
parent d91ff392ca
commit 84f8690bdf

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`;')