From 81fec706a8beee6c4aaa5940567ea120bf044449 Mon Sep 17 00:00:00 2001 From: fen Date: Wed, 12 Oct 2016 14:32:39 +0800 Subject: [PATCH] Delete Configuring_CNC_Database.txt --- Configuring_CNC_Database.txt | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 Configuring_CNC_Database.txt diff --git a/Configuring_CNC_Database.txt b/Configuring_CNC_Database.txt deleted file mode 100644 index 3aedc33..0000000 --- a/Configuring_CNC_Database.txt +++ /dev/null @@ -1,36 +0,0 @@ -CREATE DATABASE mirai; - -CREATE TABLE `history` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `user_id` int(10) unsigned NOT NULL, - `time_sent` int(10) unsigned NOT NULL, - `duration` int(10) unsigned NOT NULL, - `command` text NOT NULL, - `max_bots` int(11) DEFAULT '-1', - PRIMARY KEY (`id`), - KEY `user_id` (`user_id`) -); - -CREATE TABLE `users` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `username` varchar(32) NOT NULL, - `password` varchar(32) NOT NULL, - `duration_limit` int(10) unsigned DEFAULT NULL, - `cooldown` int(10) unsigned NOT NULL, - `wrc` int(10) unsigned DEFAULT NULL, - `last_paid` int(10) unsigned NOT NULL, - `max_bots` int(11) DEFAULT '-1', - `admin` int(10) unsigned DEFAULT '0', - `intvl` int(10) unsigned DEFAULT '30', - `api_key` text, - PRIMARY KEY (`id`), - KEY `username` (`username`) -); - -CREATE TABLE `whitelist` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `prefix` varchar(16) DEFAULT NULL, - `netmask` tinyint(3) unsigned DEFAULT NULL, - PRIMARY KEY (`id`), - KEY `prefix` (`prefix`) -); \ No newline at end of file