From fecb82bf36d97e2c26d8f3843fb5ede4d8e7ebc8 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 13 Jan 2023 23:15:06 +0100 Subject: [PATCH] Refixed migration #179 --- .../bot_data/migration/user_message_count_per_hour_migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdb-bot/src/bot_data/migration/user_message_count_per_hour_migration.py b/kdb-bot/src/bot_data/migration/user_message_count_per_hour_migration.py index ef8d0194..8913a4aa 100644 --- a/kdb-bot/src/bot_data/migration/user_message_count_per_hour_migration.py +++ b/kdb-bot/src/bot_data/migration/user_message_count_per_hour_migration.py @@ -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,