CREATE TABLE IF NOT EXISTS `staatshub_statslogs` (
  `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  `username` VARCHAR(50) NOT NULL,
  `fraction` INT(11) NOT NULL,
  `aktion` VARCHAR(100) NOT NULL,
  `count` INT(11) NOT NULL DEFAULT 0,
  `money` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
  `timestamp` INT(11) UNSIGNED NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_username` (`username`),
  KEY `idx_fraction` (`fraction`),
  KEY `idx_aktion` (`aktion`),
  KEY `idx_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

