CREATE TABLE IF NOT EXISTS `{prefix}players` ( `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, `uuid` binary(16) NOT NULL, `serverNick` varchar(32) NOT NULL, `voteCount` int UNSIGNED DEFAULT 0, PRIMARY KEY `id` (`id`), UNIQUE KEY `uuid` (`uuid`) ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `{prefix}activity` ( `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, `uuid` binary(16) NOT NULL, `date` DATE NOT NULL, `kills` int DEFAULT 0, `deaths` int UNSIGNED DEFAULT 0, `playtime` mediumint UNSIGNED DEFAULT 0, PRIMARY KEY `id` (`id`), UNIQUE KEY `date_player` (`uuid`, `date`) ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;